Return to Home Page
      Blog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     FAQ      Search
 

In Python (bound) methods should be used as commands, so the example would be:


class Macro:
  ...
  def run(self):
    for c in self.commands:
        c()

macro = Macro()
macro.add(Loony().execute)
macro.add(NewBrain().execute)
macro.add(Afford().execute)
macro.run()
f  e  x


Free Video Free Photo Free Gallery
Free Video Free Photo Free Gallery
Free Video Free Photo Free Gallery
Free Video Free Photo Free Gallery

f  e  x



Add your comment below. Use an empty line between each paragraph. Paragraphs will be automatically formatted, and single carriage returns will be respected. Use <code> to begin a code block, and </code> to end a code block. Your email address will not be visible to spam harvesters or used in any way except to contact you with further questions.

Your Email Address:

Search     Home     WebLog     Consulting     Seminars     Calendar     Books     CD-ROMS     Newsletter     About     Contact     Site Design     Server Maintenance     Powered by Zope
©2007 MindView, Inc.