On Aug 29, 10:58 am, xavim <xavier.martinezhida... at gmail.com> wrote: > (...) > try: > (...) > except: > os.remove(dictpath) This should read:: try: (...) except: os.remove(dictpath) raise Sorry.