Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7684

Function within class and in modules

From TheSaint <nobody@nowhere.net.no>
Newsgroups comp.lang.python
Subject Function within class and in modules
Followup-To comp.lang.python
Date 2011-06-15 19:57 +0800
Organization Aioe.org NNTP Server
Message-ID <ita6nj$4j4$1@speranza.aioe.org> (permalink)

Followups directed to: comp.lang.python

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Function within class and in modules TheSaint <nobody@nowhere.net.no> - 2011-06-15 19:57 +0800
  Re: Function within class and in modules Roy Smith <roy@panix.com> - 2011-06-15 08:18 -0400
  Re: Function within class and in modules Zach Dziura <zcdziura@gmail.com> - 2011-06-15 06:57 -0700
    Re: Function within class and in modules TheSaint <nobody@nowhere.net.no> - 2011-06-16 20:33 +0800
    Re: Function within class and in modules Andrew Berg <bahamutzero8825@gmail.com> - 2011-06-16 08:02 -0500

csiph-web