is this a valid import sequence ?

Steven D'Aprano steve at
Sat Jun 23 03:24:53 CEST 2007

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


More information about the Python-list mailing list