Need help to pass self.count to other classes.

Steve Holden steve at holdenweb.com
Fri Jan 8 08:58:50 EST 2010


Steven D'Aprano wrote:
[... points out my misapprehension ...]
> 
>>>> kbi = kbInterface()
>>>> sys.ps1 = kbi.prompt1
> <bound method kbInterface.prompt1 of <__main__.kbInterface object at 
> 0xb7cbd52c>>print "Hello"
> Hello
> <bound method kbInterface.prompt1 of <__main__.kbInterface object at 
> 0xb7cbd52c>>
> 
Right, this is expert mode ...

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