MonkeeSage wrote:
> 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
where do I place this function...
> ...
> class Foo:
> writeDebug("how can I configure the interpreter for understand
> Klingon participals and noun-phrases? Must I rectify the standard
> dictionaries first?")
...thus it becomes available within class "Foo" and all other Classes?
Something like a central import?
.
--
http://mail.python.org/mailman/listinfo/python-list