Function within class and in modules

TheSaint nobody at nowhere.net.no
Wed Jun 15 07:57:35 EDT 2011


Hello
sorry, I'm bit curious to understand what could be the difference to pack up 
a class for some number of functions in it and a simple module which I just 
import and use the similar functions?
The only perspective that I think of is that class might instantiate a 
function several time. For my use I don't have multithread and mostly 
programs are sequencial.

-- 
goto /dev/null



More information about the Python-list mailing list