is this a valid import sequence ?

Stef Mientki S.Mientki-nospam at mailbox.kun.nl
Sat Jun 23 09:41:05 CEST 2007


thanks Steven,

Steven D'Aprano wrote:
> 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?
ok that seems a plausible reasoning
> 
> 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.
Yes I know,
but that's a fact of the "real thing" I'm simulating ;-)

cheers,
Stef
> 
> 



More information about the Python-list mailing list