path to executing .py file

tiefeng wu icebergwtf at gmail.com
Wed Apr 15 04:56:59 CEST 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.html>


More information about the Python-list mailing list