Get the users home directory
9
Quick way to get the users home directory in Unix/Linux and Windows
###
Description:
Get Users Home Directory
Works on windows as well
URL: http://sebsauvage.net/python/snyppets/index.html
License: Unspecified/Public Domain
###
import os.path
print os.path.expanduser('~')






Regards,
Kumar S
GuyFromChennai.com