Function for the path of the script?

Chris Angelico rosuav at gmail.com
Sat Oct 26 23:01:54 EDT 2013


On Sun, Oct 27, 2013 at 1:52 PM, Gary Herron
<gary.herron at islandtraining.com> wrote:
> Huh?  In what kind of a workflow are you running a python file without
> knowing *what* file you are runnung?

It's very common to want to know what directory you're in - it's a
good way to find data files.

ChrisA



More information about the Python-list mailing list