path to executing .py file

tiefeng wu icebergwtf at gmail.com
Tue Apr 14 22:56:59 EDT 2009


>
>
> The path of your script is given by __file__.


thanks MRAB, and sorry for such a trivial question :)

cheers!

tiefeng wu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090415/46bc795a/attachment-0001.html>


More information about the Python-list mailing list