[Tutor] Executing dos .bat file with Python script (original) (raw)
Alan Gauld alan.gauld at blueyonder.co.uk
Sat Jul 24 21:25:20 CEST 2004
- Previous message: [Tutor] Executing dos .bat file with Python script
- Next message: [Tutor] Executing dos .bat file with Python script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Let say I have a python script that write a .bat file, with the commands and arguments. Now how can I use that same python script to actually execute the .bat file in the Windows environment? Any direction would be appreciated.
Use os.system()
or os.popen() if you want to read the output...
Alan G.
- Previous message: [Tutor] Executing dos .bat file with Python script
- Next message: [Tutor] Executing dos .bat file with Python script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]