
May 3, 2013
4: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