python hello world
Python programming language was developed by Guido van Rossum in 1991. It is a high-level and object oriented programming language, mostly used as scripting language. Besides scripting uses, python code can be packaged into standalone executable programs. Its source code files are often with the extension “.py”.
hello.py
#! /usr/bin/env python #A simple hello program. print "Hello, World! This is my first program in python!" print "Nothing fancy, this is just a printing statement in a python script."
To run the hello world python program on the command line.
chmod +x hello.py ./hello.py
or
python hello.py
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts