calling __init__ more than once?
roy at panix.com
Mon Sep 3 02:46:58 CEST 2001
"Emile van Sebille" <emile at fenx.com> wrote:
> One thing you could try is to restructure slightly, passing the filename on
> stuff1 = myParser(fileName1)
> stuff2 = myParser(fileName2)
I was trying to avoid that, since it meant instantiating a new parser
object for each file I wanted to parse. On the other hand, that make
actually make more sense!
More information about the Python-list