On Jun 8, 12:52 pm, kj <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]> "Mark Tolonen" <[EMAIL PROTECTED]> 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.
Note that this doesn't quite work for symbolic links or compiled scripts, depending on your requirements. -- http://mail.python.org/mailman/listinfo/python-list