[Tutor] How use relative path of Linux environment in Python

Keo Sophon keosophon at khmeros.info
Mon Apr 24 09:16:25 CEST 2006


Hi all,

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.

Thanks,
Phon


More information about the Tutor mailing list