Re: Need help to pass self.count to other classes.



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/

.



Relevant Pages

  • Re: getfirst and re
    ... Further hint ... ... PyCon is coming! ... Atlanta, Feb 2010 http://us.pycon.org/ ...
    (comp.lang.python)
  • Re: Email Script
    ... Should I put a timer between instances of Email? ... PyCon is coming! ... Atlanta, Feb 2010 http://us.pycon.org/ ...
    (comp.lang.python)
  • Re: errno 107 socket.recv issue
    ... feel a little stupid though. ... PyCon is coming! ... Atlanta, Feb 2010 http://us.pycon.org/ ...
    (comp.lang.python)
  • Re: [ANN] hgview 1.2.0
    ... Stefan Behnel wrote: ... PyCon is coming! ... Atlanta, Feb 2010 http://us.pycon.org/ ...
    (comp.lang.python)
  • Re: execute bash builtins in python
    ... just export PS1, duh ... See PyCon Talks from Atlanta 2010 http://pycon.blip.tv/ ...
    (comp.lang.python)