[PMX:#] threads and minidom problems
by Dario Correal other posts by this author
Feb 17 2003 10:08PM messages near this date
Debugging an unhandled exception?
|
File processing
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
--
http://mail.python.org/mailman/listinfo/python-list
|