Telling python where to look for a script

Brian Elmegaard brian at
Thu Jun 14 07:18:38 EDT 2001

Alex Martelli wrote:
> the backslashes:-).  A module is meant to be imported.
> A file can be both, but adapting the path is
> relevant to module-use only, NOT to script-use.  All
> clear so far...?
No, I'm sorry.

Being in c:\foo I would like to be able to execute on baz.dat
being in . just by typing:

c:\foo>python baz.dat

Then I need something path-related with scripts, don't I?

Brian (remove the sport for mail)
\TeX, tak

More information about the Python-list mailing list