Finding user's home dir

Miki Tebeka miki.tebeka at zoran.com
Thu Feb 3 03:31:46 EST 2005


Hello Nemesis,

> Hi all, I'm trying to write a multiplatform function that tries to
> return the actual user home directory.
> ...
What's wrong with:
    from user import home
which does about what your code does.

Bye.
--
------------------------------------------------------------------------
Miki Tebeka <miki.tebeka at zoran.com>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys



More information about the Python-list mailing list