Re: Run python script with CMD error

2014-01-27 Thread FalaG
I m using Python 3.3 and the script is not written by me therefore i'm gonna try to install 2.7 instead and i will let you know the result. Thank you Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: Run python script with CMD error

2014-01-27 Thread Joel Goldstick
Look at lines around 29 On Jan 27, 2014 2:45 PM, wrote: > Hi everyone; > > > Im new with python and i just installed it and added it to the path.I have > already a script that i want to execute(run) but every time i do this > commend python > > > client.py > > in CMD to execute it,i got this erro

Re: Run python script with CMD error

2014-01-27 Thread Peter Otten
raed...@gmail.com wrote: > Hi everyone; > > > Im new with python and i just installed it and added it to the path.I have > already a script that i want to execute(run) but every time i do this > commend python > >> client.py > > in CMD to execute it,i got this error. Any solutions please? > >

Run python script with CMD error

2014-01-27 Thread raedtjr
Hi everyone; Im new with python and i just installed it and added it to the path.I have already a script that i want to execute(run) but every time i do this commend python > client.py in CMD to execute it,i got this error. Any solutions please? > File ", line 29 except Exception, e: ^ Syn

Re: Run python script with ./

2013-04-06 Thread LubanWorks
I have test that wrapper, under Bash 4.1.2, ./myscript.py works, it doesn't work under Bash 3.2.25, seems Bash relative. http://stackoverflow.com/questions/15838183/run-python-script-with-dot-slash On Fri, Apr 5, 2013 at 11:58 PM, Dylan Evans wrote: > > > > On Sat, Apr 6

Re: Run python script with ./

2013-04-05 Thread Dylan Evans
On Sat, Apr 6, 2013 at 1:04 AM, LubanWorks wrote: > > > > My question is: > > Why when I use #!/home/luban/Linux/Python/2.7.3/bin/python at the > beginning of myscript.py, *./*myscript.py can work, > > but if I use the wrapper #!/home/luban/bin/python in my python script, use > *./* to run the s

Run python script with ./

2013-04-05 Thread LubanWorks
Hi all, I installed two python 2.7.3 into my home directory one is for Linux: /home/luban/*Linux*/Python/2.7.3 another is for Solaris: /home/luban/*SunOS*/Python/2.7.3 then I create a wrapper named "python" in /home/luban/bin to call the different python when I am wo