+ Reply to Thread
Results 1 to 4 of 4

Thread: Python Compiler

  1. #1
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Python Compiler

    i know this is a very unpopular topic, but does anyone know of a python compiler that is worth the time of looking into?

  2. #2
    JKoltner is offline x10Hosting Member JKoltner is an unknown quantity at this point
    Join Date
    Jan 2009
    Location
    Wimer, Oregon
    Posts
    23

    Re: Python Compiler

    There are relatively few "true" Python compilers out there ("true" in the sense that they take Python in and generate x86 [or whatever] code directly as the output). This is probably due to the design of Python, which generally supports much better approaches to solving the problems that compilers typically address. E.g., for performance, Python is more than happy to let you link to code written in C/C++/Assembly/etc. without much fuss.

    What limitation are you seeing in Python that you'd like a compiler to address?

    (As you're probably aware, Python code is always compiled down to a "byte code" -- these are the *.pyc files.)

  3. #3
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: Python Compiler

    there isn't any one problem i'm trying to address, i simply want to be able to compile my python scripts into .exe files.

  4. #4
    JKoltner is offline x10Hosting Member JKoltner is an unknown quantity at this point
    Join Date
    Jan 2009
    Location
    Wimer, Oregon
    Posts
    23

    Re: Python Compiler

    Quote Originally Posted by kbjradmin View Post
    there isn't any one problem i'm trying to address, i simply want to be able to compile my python scripts into .exe files.
    In that case, you can use programs such as py2exe (http://www.py2exe.org/), which essentially builds an executable "wrapper" around your Python code -- internally it's still the Python interpreter running your Python byte code, but people can run your program without needing the regular Python distribution installed.

    There's are many commercial programs out there, distributed as .exe's, which use Python internally.

    ---Joel

+ Reply to Thread

Similar Threads

  1. Replies: 5
    Last Post: 07-10-2009, 03:30 AM
  2. MySQLdb on Python
    By hardbyte in forum Free Hosting
    Replies: 0
    Last Post: 11-25-2008, 02:03 AM
  3. Python / MySQLdb
    By Korexio in forum Free Hosting
    Replies: 9
    Last Post: 11-29-2007, 08:29 AM
  4. Python/.htaccess help
    By *Face in forum Free Hosting
    Replies: 6
    Last Post: 09-21-2007, 01:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers