In <[EMAIL PROTECTED]> "Mike Driscoll" <[EMAIL PROTECTED]> writes:

>For my compiled scripts, I usually use this variation:

>path = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0])))

Thanks.  But why the os.path.join()?  (BTW, I did read the docs
before posting, but they make no sense to me; they say that
os.path.join joins "one or more path components intelligently",
but what does it mean to join *one* component?)

Kynn

-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to