Idiom for running compiled python scripts?
mark at mailinator.com
Sat Mar 24 23:59:06 CET 2007
On Sat, 24 Mar 2007 07:21:21 -0700, irstas wrote:
> Also, rstrip doesn't work like you think it does.
> 'pyxyypp.py'.rstrip('.py') == 'pyx'
Well there is embarrassing confirmation that I am a python newbie :(
> I timed it against running plain .py and running .pyc directly. It
> seemed to be roughly on par with running .pyc directly, and about 18ms
> faster than running .py. The file had 600 lines (21kb) of code.
So see my point at least? I'm still not sure why this approach is
Thanks very much for all the detailed responses here.
More information about the Python-list