Extending Python
Python is great for rapid application development
Little overhead in creating classes, functions, etc.
Can be slow at times, in suprising places
Python is fairly easy to profile
time.clock() module
Python Profiler
It is fairly easy to write slow features in C
Write the program in Python
Profile
Rewrite slow features in C
Of course, it's never really that easy...
2