Is it possible to 'compile' a script?

Mike C. Fletcher mcfletch at rogers.com
Thu Oct 3 22:30:08 EDT 2002


Or, you can decide to use something like the Python specialising 
compiler (Psyco), which does the work by compiling the Python code to 
assembler.  Of course, Greg knew about it, but solosnake might not know 
about it.  Psyco is still early in its life, but its a promising 
approach for real-world apps.

Enjoy,
Mike

Greg Ewing wrote:

> solosnake wrote:
>
>> Hello
>>
>> Does Python offer the ability to 'compile' a script into a faster form?
>
> ...

>
> If it's really not fast enough, all is not lost --
> you can re-code selected parts of your algorithm in
> C and call them from Python. Selected by careful
> profiling to find out what really needs to be sped
> up, of course.
>
_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/







More information about the Python-list mailing list