B
baur79
Hi everybody
i need to execute this command line (different source for n times)
filename.exe -type png -source sourcearg -file filename.png
i try with python (python script and filename.exe in same directory)
import os
.......
.......
execfile("filename.exe -type png -source sourcearg -file filename.png")
error output
IOError: [Errno 2] No such file or directory:"filename.exe -type png
-source sourcearg -file filename.png"
try
execfile("d:\pathto\filename.exe -type png -source sourcearg -file
filename.png")
error output
IOError: [Errno 2] No such file or directory:"d:\pathto\filename.exe
filename.exe -type png -source sourcearg -file filename.png"
please help to solve problem
thanks
i need to execute this command line (different source for n times)
filename.exe -type png -source sourcearg -file filename.png
i try with python (python script and filename.exe in same directory)
import os
.......
.......
execfile("filename.exe -type png -source sourcearg -file filename.png")
error output
IOError: [Errno 2] No such file or directory:"filename.exe -type png
-source sourcearg -file filename.png"
try
execfile("d:\pathto\filename.exe -type png -source sourcearg -file
filename.png")
error output
IOError: [Errno 2] No such file or directory:"d:\pathto\filename.exe
filename.exe -type png -source sourcearg -file filename.png"
please help to solve problem
thanks