importing class

Steve Holden steve at holdenweb.com
Mon Oct 30 22:09:41 CET 2006


gmarkowsky at gmail.com wrote:
> Thanks for your help. Actually my idea was that command1 and command2
> would be defined within the program, not the module, as I would have
> different choices in different programs. Should I pass them in as a
> parameter too?
> 
It would seem to be the only way to tell your object which callbacks to 
call!

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list