If you really want to speed up your program, you have to parallelize and distribute the workload over multiple cores.  Python has a module in the standard library for this, it's called 'multiprocessing'. See <a href="http://docs.python.org/library/multiprocessing.html" rel="nofollow">http://docs.python.org/library/multiprocessing.html</a>