#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    81
    Rep Power
    12

    Compiling Python Script under Mac OS X


    I am looking for a way to compile a python script under mac os x. I am not having very much luck finding information. Can anyone point me in the right direction? Thanks!
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Not sure how you mean compile; Python is an interpreted language so you dont need to do a seperate compilation step... but if you want to run a Python script wack open Terminal, cd to the directory with the script you want to run and type

    Code:
    python filename.py
    If on the other had you mean you want to make a stand alone Mac program from a Python script you mean BundleBuilder (which, i think, you should already have).

    http://www.python.org/cgi-bin/moinmoin/MacPython
    http://www.python.org/moin/BundleBuilder

    Hope this helps

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo