ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved