Call system command : System Command « System « Python






Call system command


import os
os.environ['USER'] = 'Mel'
os.popen('python echoenv.py').read()

           
       

Related examples in the same category