Ads 468x60px

Friday, September 9, 2011

Python Programming Tutorial Part 3:Hello World

Hi all

             We can start programming using  Python .I am running python in Ubuntu 10.04 and using version python 2.6.5 . We can start with "hello world program" .You can either use interpreter or can write source code with extension .py .The standard way of programming is writing code .I am demonstrating the source code here.

Hello World using Python

Take a text editor and type this code and save it with some filename ,for eg 

#!/usr/bin/env python
print "Hello World"
After saving the file ,Take terminal in the following file-path,type the following command to execute
The Output will look like this
Hello World


Post a Comment