python profiling for a XML parser program

MacRules MacRules at none.com
Sat Sep 19 21:19:05 CEST 2009


I have a python program doing XML data prasing and write the result to 2 
data files; which will be loaded to MySQL.

I ran this.

$ python dealmaker.py
... read data
loop through records
... XML parsing
... write to file1.dat
... write to file2.date
done

Is there a python profiler just like for C program?
And tell me which functions or modules take a long time.

Can you show me URL or link on doing this task?

Thanks



More information about the Python-list mailing list