Code Repository

/home/morrison/public_html/code/python/basicPython




Guide to Contents

The file hello1.py is an executable Python file.

#!/usr/bin/env python3
##########################################################
#
#    Author:  Morrison
#    Program Name:  hello.py
#    Date:  1 March 2015
#    Description:  This program puts "Hello, World!" to the screen
#    
##########################################################
print "Hello, World!"

To enable it, do this.

$ chmod +x hello1.py