is this a valid import sequence ?

Steven D'Aprano steve at REMOVE.THIS.cybersource.com.au
Fri Jun 22 21:24:53 EDT 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
solution.


-- 
Steven.




More information about the Python-list mailing list