CONSTRUCT - Adding Functionality to the Overall System

MonkeeSage MonkeeSage at gmail.com
Tue Sep 19 11:30:03 EDT 2006


Ilias Lazaridis wrote:
> How do I do this?

It's easy:

def writeDebug(msg):
  print "I do not debug things, I _evaluate_ with professionals on the
industries! See ticket 547!\n" \
        "Oh yeah, and %s" % msg
...
class Foo:
  writeDebug("how can I configure the interpreter for understand
Klingon participals and noun-phrases? Must I rectify the standard
dictionaries first?")

Regards,
Jordan




More information about the Python-list mailing list