I checked my code today and your suggestion did fix the problem. I
used your second idea of having the default class attributes with
individual instance attributes. I ran into one problem where I kept
getting the error
" File "\\user1\jacksocl\Python_stuff\CMRPG\CharCreation.py", line 262,
in __
On Sun, 09 Jul 2006 03:51:56 -1000, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Sun, 09 Jul 2006 04:24:01 +, crystalattice wrote:
>
>> I've finally figured out the basics of OOP; I've created a basic
>> character
>> creation class for my game and it works reasonably well. Now that I'm
On Sun, 09 Jul 2006 04:24:01 +, crystalattice wrote:
> I've finally figured out the basics of OOP; I've created a basic character
> creation class for my game and it works reasonably well. Now that I'm
> trying to build a subclass that has methods to determine the rank of a
> character b
Il Sun, 09 Jul 2006 04:24:01 GMT, crystalattice ha scritto:
> I can't see why it's saying this because Character.__init__(self) not only
> has self.attrib_dict = {} but it also calls the setAttribute method
> explicitly for each attribute name. If I do a print out of the dictionary
> just fo
crystalattice wrote:
> I've finally figured out the basics of OOP; I've created a basic character
> creation class for my game and it works reasonably well. Now that I'm
> trying to build a subclass that has methods to determine the rank of a
> character but I keep getting errors.
>
> I want to "re