Finding the "home" folder [Linux/Windows]

Luca T. lucat at despammed.com
Sat Nov 1 16:32:08 EST 2003


Hello,
i need a way to find the home folder of the current user no matter if i am
in Linux or Windows for instance:
* Linux: /home/username
* Windows: C:\Documents and Settings\username

[of course this might change]

Is there any general way to do this?

Thank you,
  Luca




More information about the Python-list mailing list