Chirolo schrieb:
> Hi again.
> I tried what Thomas suggested, but I still get the following error:
> NameError: name 'pwdtuple' is not defined
>
>   
I am sorry, one line was missing:

import os
import pwd
pwdtuple=pwd.getpwuid(os.getuid())
USER=pwdtuple[0]
HOME=pwdtuple[5]



-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to