#1
  1. ID10T
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2004
    Location
    Yes
    Posts
    632
    Rep Power
    27

    Question about psycho


    How does the "psycho" compiler for python work? Does it create a binary executable that can be run independant of the interpreter?
    I had a look at the sourceforge page but it doesnt give much explanation.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Bimingham,AL
    Posts
    68
    Rep Power
    11
    No it does not create any binary executable . May be you are looking at the wrong tool.
    You might what to look at Py2exe
    and cx_freeze

    Comments on this post

    • Civ247 agrees : Thanks
  4. #3
  5. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Psyco is a JIT (Just In Time) compiler, similar to Java JIT compiler. As wx mentioned it won't create an stand alone executable for you however it can speed your program up dramatically in some cases . Basically this works by creating machine code on the fly.

    You can find out more about Psyco in the Psyco documentation and in this handy slide show:

    http://psyco.sourceforge.net/psycoguide/index.html
    http://psyco.sourceforge.net/slides/header.html

    To extend the list, if you're on the Mac then you would use py2app or to a lesser extent the Bundle Builder both will create a stand alone application bundle though py2app is definitely preferred .

    Hope this helps,

    Mark.

    Comments on this post

    • Civ247 agrees : Great thanks
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo