In <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:

> it reads a file saved this way:
> ----------------------
> import pickle
> 
> class chatuser: #container for storing user information...
>     login = ""
>     authcode = ""
>     cookie = ""
>     ip = ""
>     loggedin = 0
>     invalid_logins = 0
>     allow_login = 1
>     status = ""
>     realname = ""
>     phone = ""
>     email = ""
> 
> derek = chatuser

If this is copy and pasted and not just a typo then `derek` is just
another name for the `chatuser` class now and not an *instance* of it.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to