[Tutor] os.path.join question

2007-05-03 Thread Jason Coggins
Is it possible to use os.path.join to link to a file located in the directory above where you are currently located? If so, what is the syntax? Jason___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] os.path.join question

2007-05-03 Thread Bill Campbell
On Wed, May 02, 2007, Jason Coggins wrote: Is it possible to use os.path.join to link to a file located in the directory above where you are currently located? os.path.join('..', filename) os.path.realpath(os.path.join('..', filename)) Bill -- INTERNET: [EMAIL PROTECTED] Bill