Function for the path of the script?

Skip Montanaro skip.montanaro at gmail.com
Sat Oct 26 22:42:29 EDT 2013


Strange. I almost never want to know the location of the file that's
executing, and when I do, I just reference the __file__ module level
attribute.

Skip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20131026/386eb4d1/attachment.html>


More information about the Python-list mailing list