
3 May
2013
3 May
'13
2:06 a.m.
Hi,
a solution i found for solving this problem was
import mymodule.parser_file
for f in index: d = parser_file.MyParser.parse(f)
#Now do everything you want to do with the parsed information
reload(mymodule.parser_file)
The python buildin reload for modules seems to be cleaning up the reference stuff holding by the parser.
Greetings
Hoka