How to get full path to script?

kj socyl at 987jk.com.invalid
Sun Jun 8 15:52:45 EDT 2008


In <Bu2dnUy5AvRQtdHVnZ2dnUVZ_tqdnZ2d at comcast.com> "Mark Tolonen" <M8R-yfto6h at mailinator.com> writes:

>import os
>print os.path.abspath(__file__)

Great.  Thanks!

Kynn

-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.



More information about the Python-list mailing list