import order or cross import

Gabriel Genellina gagsl-py at yahoo.com.ar
Wed Jan 3 18:25:35 EST 2007


At Wednesday 3/1/2007 07:56, Duncan Booth wrote:

>However, you really should try to separate scripts from modules otherwise
>the double use as both __main__ and a named module is going to come back
>and bite you.

I second this. Something with a __main__ can use (import) other 
modules, but shoud not be used (imported) by anyone.


-- 
Gabriel Genellina
Softlab SRL 


	

	
		
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 




More information about the Python-list mailing list