I post here a very basic script which I use to extract data from some given (stress given) praat data.
It runs on files, folders (directories) and it can accumulate data. It has options to save in in different formats, even if just 2 now with some little controls on the output. It can be scripted for large amount of data.
For new comers praat is a linguistic tool more at praat. (you can try also praat.org which links back here).