Need help to pass self.count to other classes.
Steve Holden
steve at holdenweb.com
Wed Jan 6 11:42:21 EST 2010
Bruno Desthuilliers wrote:
> Steve Holden a écrit :
> (snip)
>> This is untested code
>
> indeed !-)
>
>> class kbInterface(object):
>> def __init__(self):
>> self.zxc = 0
>> def prompt1(self):
>> self.count += 1
>
> Ahem...
>
> (snip)
>
>
Caveat emptor ... this code is worth what you paid for it :)
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/
More information about the Python-list
mailing list