Learn Python Easy Way
Tuesday, March 22, 2016
launch program from python console
http://stackoverflow.com/questions/204017/how-do-i-execute-a-program-from-python-os-system-fails-due-to-spaces-in-path
# Call without argument
>>> import os
>>> os.system('jeex')
# call with argument
subprocess.call(['jeex', 'test.txt'])
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment