Re: [Tutor] Help with classes

2005-04-07 Thread Alan Gauld
> I am fooling around with classes and I was trying to create a very > small one player text adventure. I made a class called commands here > it is: OK, recall that a class represents a template from which you create (one or) many instances. Thus any class that is named in the plural usually indi

Re: [Tutor] Help with classes

2005-04-07 Thread Kent Johnson
Kevin wrote: I am fooling around with classes and I was trying to create a very small one player text adventure. I made a class called commands here it is: class Commands: def __init__(self): pass def quiting(self): sys.exit() def look(self): print "\nNot working

[Tutor] Help with classes

2005-04-07 Thread Kevin
I am fooling around with classes and I was trying to create a very small one player text adventure. I made a class called commands here it is: class Commands: def __init__(self): pass def quiting(self): sys.exit() def look(self): print "\nNot working yet!\n"