Jump to content

Python Compiler.


Demonic

Recommended Posts

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

  • 1 month later...
  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.