Re: class variables and class methods

2009-04-18 Thread Aahz
In article <9c848013-2245-455e-bb30-48e430d56...@j9g2000prh.googlegroups.com>, wrote: > >I have a class whose job is to serve several other objects, [...] Sorry, I'm finding it difficult to understand what you want. It looks to me that you're confusing "object" and "instance", and I think you'

class variables and class methods

2009-04-17 Thread krishnapostings
I have a class whose job is to serve several other objects, this object is in a module 'M1', let's say it writes logs, no matter who calls it, (once it started writing to a file) it must continue writing to the same file, the file pointer could be a class variable here and there is also no need to