I've got a weekly project here in which I have to take a somewhat arbitrary number of input files, create working directories in which to process each of them, and call other programs from within the scope of those directories.
The source files are in a directory named 'orig' under the project root directory. Output of my program is placed in directories nested two-deep under the job root in different branches. Once my data is in those other directories, I have to call certain other 3rd-party programs to act on the data in various ways. Those 3rd-party programs are typically called from a Windows command prompt, and only from within the directory in which the data is found. For example: C:\MyProject\BrandA\ProductB>3rdPartyApp.bat projectConfig.cfg (where "MyProject" is the project root, "BrandA" is a subdirectory, and "ProductB" is another subdirectory nested one level deeper) How might I best go about calling these 3rd-party apps? On this project, the directories are created dynamically, and there can be quite a few. -Rob A. _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
