[Tutor] howto keep a program organised?

2006-09-11 Thread Rob Vogel
Hello All, I have been programming with Python for a few weeks now. By now I have problems keeping my program organised. (program runs from a Linux Busybox environment). For example, I may need to mount the usb storage device at some point in the program. For this end I made the following functio

Re: [Tutor] howto keep a program organised?

2006-09-11 Thread Rob Vogel
Thanks Alan, The functions do not share variables, I don't use global vars, and I don't need a new instance. So in my case the only use of a class would be that all related usb code will be grouped together, even though I do not need any of the Class special abilities, as far as I understand. I t

Re: [Tutor] howto keep a program organised?

2006-09-11 Thread Rob Vogel
Thanks for the info. I will use a module. Regards, Rob On 9/11/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > > The functions do not share variables, I don't use global vars, and I > > don't need a new instance. > > In that case you don't need a class. > A module should do all you need by providin