Idiom for running compiled python scripts?
Steve Holden
steve at holdenweb.com
Thu Mar 22 22:24:44 EDT 2007
Mark wrote:
> So given the lack of response it seems that there is probably no such
> idiom and that I should not be concerned by the inefficiency inherent in
> running .py scripts directly?
>
> I did some time tests and sure, the speed gain is slight, but it is a
> gain none the less.
Sorry, what you really need is the compileFile() function from the
compiler module.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com
More information about the Python-list
mailing list