From d441ffd0299b0ba6e5d487bcdec862a354e39493 Mon Sep 17 00:00:00 2001 From: Erik Ostrom Date: Thu, 31 Oct 2019 14:50:11 -0700 Subject: [PATCH] Add hello-world in python2... lol --- python2/README.md | 14 ++++++++++++++ python2/main.py | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 python2/README.md create mode 100644 python2/main.py diff --git a/python2/README.md b/python2/README.md new file mode 100644 index 0000000..ac6d4bd --- /dev/null +++ b/python2/README.md @@ -0,0 +1,14 @@ +# Python 2 + +## Instructions +* Python 2 is old... Its scheduled for end of life on January 1st, 2020. +* Find out just how long it has left here: [pythonclock.org](https://pythonclock.org/) +* Check out the [Google Python Style Guide](http://google.github.io/styleguide/pyguide.html)! + +### On the web +* Run this program for yourself on [rextester.com](https://rextester.com/LNOUH63431). + +### Ubuntu (any version) +1. Bring down this repository (clone or download) +2. Navigate to this repository (ex. `cd ~/gits/Hello-World/python2`) +3. Run `main.py`: `python2 main.py` diff --git a/python2/main.py b/python2/main.py new file mode 100644 index 0000000..030a5fc --- /dev/null +++ b/python2/main.py @@ -0,0 +1,3 @@ +#! /usr/bin/env python2 + +print 'Hello, world, and GO COUGS!'