threads and minidom problems
Dario Correal
dario.correal at scriptasoftware.com
Mon Feb 17 17:08:38 EST 2003
Hi
I am working on a project and I need to use minidom inside a thread code.
When a use minidom outside the thread everything is fine, but inside the
thread code nothing happens.
My code has this structure
if __name__ == '__main__':
thread.start_new_thread ( foo, (file,))
def foo ( file ):
doc = minidom.parse(file)
#never reach this point
Thanks in advance,
Dario Correal
Scripta Software Ltda.
PBX: (57 1)256-3442
Cel: 343-8192
www.scriptasoftware.com
More information about the Python-list
mailing list