Re: [Tutor] [Linux] open a file in any home "~" ?
by K Weinert other posts by this author
Apr 20 2006 4:05AM messages near this date
Re: [Tutor] [Linux] open a file in any home "~" ?
|
Re: [Tutor] [Linux] open a file in any home "~" ?
Hi,
try
f=file(os.path.join(os.path.expanduser("~")),"myfile"), "r")
Kind regards,
Karsten.
--
Echte DSL-Flatrate dauerhaft f�r 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
Thread:
Learner404
Paidhi Aiji
K Weinert
Alan Gauld
Alan Gauld
W Chun
Learner404
W Chun
Matthew White
|