Class

Georg Lohrer GeorgLohrer at gmx.de
Thu Nov 8 02:05:14 EST 2001


Edy,

beneath all the others said about the number of values for the c'tor, 
the 

>    add.UserPlan = input("Username: ")

seems to be wrong or not desired, too. The 'input' statement is
realized as 

    eval(raw_input())

So, you have to enter a valid Python-statement to satisfy the needs of
input. Is that what you want? For example, you have to enter something
like:

    Username: 'MyName'

and not a simple 
 
    Username: MyName

Ciao, Georg




More information about the Python-list mailing list