Activating Batch Files from Python
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Fri Apr 21 02:54:43 EDT 2006
In article <1145468951.826803.120860 at i39g2000cwa.googlegroups.com>,
"Jeff Groves" <mikelemmer6 at yahoo.com> wrote:
>>How about sourcing it from a shell, then using that same shell instance
>>to run the programs?
>
>How would I do that? As I've said, I haven't found a Python command
>that lets you send multiple commands to the same shell yet. If I could,
>my problem would be solved.
What about os.popen? Otherwise there's the usual fork/exec thing.
More information about the Python-list
mailing list