How to add .py script to run on another py (python) -
i have python (.py) script. want add code run guidetype.py on gui.py script. when opening program runs gui.py. want executing guidetype.py when starts
gui.py = http://d-h.st/uszy
guidetype.py = http://d-h.st/7snf
try this
import os, sys path_python_exec = sys.executable path_exec_file = '' command = '%s %s'%(path_python_exec, path_exec_file) os.system(command)
customize according needs.
Comments
Post a Comment