Creating a Terminal Program with Python
On a *nix system (linux/unix), if you: $ chmod 0744 your_file.py -rwxr–r– your_file.py and add the path to python as the first line of your_file.py: #!/usr/bin/python or (in my case): #!/usr/local/bin/python Once you do that, instead of running it like this: $ python your_file.py You can run it like this: $ ./your_file.py or even rename … Read more