title: How to encrypt (one way i.e. irreversible is also fine) a python script which is still executable?
body: <p>I have an AI program written in Python. I want to deploy the script on Ubuntu/Windows machine without exposing the source script.
  How can I encrypt the Python script so that it is irreversibly encoded but can be used as usual (say by calling <code>python &lt;script_name&gt;.py</code> from the terminal)?</p>