[issue19056] Windows 7, script exec not working without explicit cal of python.exe

2013-09-20 Thread Thierry Seunevel
New submission from Thierry Seunevel: Executing a script from the command prompt works if Python.exe called explicitly, doesn't work if script name only. Example : python.exe script.py is ok script.py gives the following : Traceback (most recent call last): File "D:\soft\python\l

[issue19056] Windows 7, script exec not working without explicit cal of python.exe

2013-09-21 Thread Thierry Seunevel
Thierry Seunevel added the comment: Many thanks for your answers. printing the sys.path gave me this output (parsed with newlines) '', 'D:\\soft\\python\\lib', 'D:\\Thierry\\python\\d\\thierry\\python', < mispelled 'C:\\Windows\\system32\\python27.zip&