On Fri, 22 Jun 2007 21:43:40 +0200, Stef Mientki wrote: > This might be a very weird construction, > but it's the most easy way in translating another language into Python (for > simulation). > > Although it works, I like to know if this a valid construction:
Since it works, how can it NOT be a valid construction? However, using global variables is almost always a bad idea. Passing parameters around is really cheap in Python, that's almost always a better solution. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list