"Pierre Dagenais" <[EMAIL PROTECTED]> wrote
Yes Tim, but both PATH and PYTHONPATH are set to \python25 and \python25\MyCode, so I don't understand why python searches the CWD but neither the path nor pythonpath directories.

Because that's how Windows works, its how Bill Gates decided it should be... Its what Windows calls the Working Folder and by default for the command prompt its the one you are in.

It can be argued that it is "A Good Thing" since it allows you to have several python scripts of the same name and not have the wrong script accidentally being started.

HTH,

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to