[Tutor] How use relative path of Linux environment in Python
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Mon Apr 24 09:24:00 CEST 2006
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?
More information about the Tutor
mailing list