OS independent files
crystalattice
crystalattice at gmail.com
Thu Aug 3 15:56:44 EDT 2006
Simon Forman wrote:
> Google groups has a very good search.
That's what I'm using, and it still came up with 600-900 results
depending on my search terms.
> Try os.path.expanduser('~') (in
> http://docs.python.org/lib/module-os.path.html) or you could just look
> up the HOME environment variable in os.environ, but I don't know if
> windows sets this correctly in all cases.
>
> (os.environ is documented in
> http://docs.python.org/lib/os-procinfo.html)
>
> Peace,
> ~Simon
I'll try that. Thanks.
More information about the Python-list
mailing list