Demonic Posted November 29, 2006 Share Posted November 29, 2006 Can someone tell me how/where I can compile python scripts.Im working on developing my own simple game. Link to comment https://forums.phpfreaks.com/topic/28903-python-compiler/ Share on other sites More sharing options...
neylitalo Posted December 6, 2006 Share Posted December 6, 2006 I don't believe that you can compile python scripts. I think the only way to run one is to run it through the python interpreter. In Unix, this can be done by simply:putting this as the first line of your script,[code]#!/usr/bin/python[/code] and running this command:[code]$ chmod a+x script.py[/code] where script.py is the name of your python script.I don't know how it would be done in Windows. Link to comment https://forums.phpfreaks.com/topic/28903-python-compiler/#findComment-135820 Share on other sites More sharing options...
Time Traveller Posted January 24, 2007 Share Posted January 24, 2007 On win you can use py2exe to make a standalone executable. I think its at www.py2exe.org Link to comment https://forums.phpfreaks.com/topic/28903-python-compiler/#findComment-168157 Share on other sites More sharing options...
worldworld Posted February 2, 2007 Share Posted February 2, 2007 Please see [url=http://docs.python.org/lib/compiler.html]this[/url] foe solution. Link to comment https://forums.phpfreaks.com/topic/28903-python-compiler/#findComment-175548 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.