From: Karol L. <kar...@kn...> - 2007-02-02 17:50:37
|
On Friday 02 of February 2007 12:57, Noel O'Boyle wrote: > Do they have to be attributes of the class? Can they be local > variables in parse() which are passed into extract() (or maybe this is > too messy)? Alternatively, they can be 'weak' attributes, with names > like self._nstep. AFAIK, this is a convention to indicate 'private' > variables of a class, although it doesn't do much else. A made nstep an attribute of LogFile.progress, hope that doesn't conflict with your code. After all, it does fit in as an attribute of LogFile.progress. Karol -- written by Karol Langner Fri Feb 2 18:47:42 CET 2007 |