On 12-jul-2005, at 16:03, Kevin Dangoor wrote: > > import user Don't import user just to get at user.home! The user module looks for a ~/.pythonrc.py and executes that. Setting user.home is just a side- effect of its (mostly unwanted) functionality.
Use os.path.expanduser('~') to get the home directory of the current user. Ronald _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig