No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi I am having problems using [B]subprocess.Popen.[/B] Here is a small script I have written [CODE]from subprocess import Popen import os global p def executeProcess(): cmd = "ls -l /home" global p p = Popen(cmd) #os.system (cmd)[/CODE] This works only once in a while. I keep getting the error [CODE]Traceback … |
|
Hi I am new to python programming and I am trying to embed some python calls into my C++ program. I made a simple module called 'test.py' which has the following lines : [code] //---------test.py------------------ message = 'The meaning of life...' def transform (input): input = input.replace ('life', 'Python..'); return … |