![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: [Newbie] Referring to a global variable inside a function
From: bruno at modulix <onurb@xiludom.gro>
Date: Mon Apr 10 2006 - 11:58:10 CEST
Ernesto García García wrote:
FWIW, I would *not* use a global.
class LineAction(object):
def __call__(self, line, match_dictionary):
line_action = LineAction()
line_matcher = LineMatcher.LineMatcher()
HTH
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xiludom.gro'.split('@')])"
Received on Sun Apr 30 22:41:12 2006
|