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
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&