How to get full path to script?

kj socyl at 987jk.com.invalid
Sun Jun 8 21:52:45 CEST 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