Re: [Tutor] defining functions and classes

2011-01-15 Thread Brett Murch
Yes you are right it is a Name error because skills was not defined. Sorry will make things more clear in the future. I have it sorted now. Will just start from the beginning and try not to go to fast. On Sat, 2011-01-15 at 21:34 +1100, Steven D'Aprano wrote: > Brett Murch wrote: >

Re: [Tutor] defining functions and classes

2011-01-15 Thread Brett Murch
On Sat, 2011-01-15 at 08:23 -0500, Dave Angel wrote: > On 01/-10/-28163 02:59 PM, Brett Murch wrote: > > Hi everyone, > > > > I'm just starting to learn Python and am starting by creating a text > > game but am having trouble with classes and funtions. I want t

[Tutor] defining functions and classes

2011-01-15 Thread Brett Murch
Hi everyone, I'm just starting to learn Python and am starting by creating a text game but am having trouble with classes and funtions. I want to create a class or function where someone creates a charater and has a choice of their name or os. This is what I have so far; class Administrator():