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

    Join Date
    Mar 2004
    Posts
    41
    Rep Power
    11

    .py had to be included?


    is it possible in python to have a .exe file so that you wont have to include any source files .py? is there any language for linux that i dont have to include the source to run the program?
  2. #2
  3. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    14
    For Linux you should look at http://starship.python.net/crew/atuining/cx_Freeze/

    This will create an executable with a number of library modules. This group of files can then be gzipped and distributed.

    You cannot guarantee it will work in all cases as the package may still require access to some shared libraries that must be on the system. So it is likely it will still have some dependencies.

    grm

IMN logo majestic logo threadwatch logo seochat tools logo