At Monday 28/8/2006 14:55, shawn bright wrote:

would it be better to move all the functions i want to share into some class and have the class threads refer to them that way ? i mean, just to keep things seperate, but resuseable ?

That really depends on your design. Python does not enforce that *all* code be in class methods; using functions alone -as others have pointed out- is fine.



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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to