[Tutor] Windows Linux Popen

Peter Otten __peter__ at web.de
Thu Jun 27 17:55:42 CEST 2013


Matthew Ngaha wrote:

> On Thu, Jun 27, 2013 at 1:37 PM, Peter Otten <__peter__ at web.de> wrote:
> 
>> Your working directory may differ from the directory containing
>> echo_server.py. Try specifying the full path, e. g.
>>
>> SCRIPT = 'c:\\path\to\\echo_server.py' # replace with your actual path
>> p = subprocess.Popen(
>>     ['python3', SCRIPT])
>>
> oh for some reason i didnt see this message. Thanks i will try this out
> also 

I'm sorry, I was wrong. I figured "echo_server.py" wasn't found when it was 
actually "python3".



More information about the Tutor mailing list