---------- Forwarded message ---------- Date: Mon, 24 Apr 2006 14:28:34 +0700 From: Keo Sophon <[EMAIL PROTECTED]> To: Danny Yoo <[EMAIL PROTECTED]> Subject: Re: [Tutor] How use relative path of Linux environment in Python
On Monday 24 April 2006 14:24, you wrote: > On Mon, 24 Apr 2006, Keo Sophon wrote: >> Do you have any idea of how to use relative path of Linux environment in >> Python. For example, if a program would like to create an oupfile from >> these assignment: outputfile = "~/Desktop/" + workingfile, while "~" is >> the short cut to the path of current user. > > This seems similar to a question that was asked and answered a few days > ago: > > http://mail.python.org/pipermail/tutor/2006-April/046613.html > > Are you trying to do something similar? Yes, same. Just a small point different, he tried to read the file, i am trying to write the file. Phon _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor