Monday 3 October 2016

Hello World program in python

The "Hello World" Program is a basic program to check the output display on console in any programming language.

Here in this blog i will be posting all posts regarding python language.

So, in order to test the console output of python we are going to use the following code.

Lets open a empty file in notepad or any other editor.

Then write the following code in it,

print "Hello World"

Then save the file as "helloworld.py" and save the file in your respective location.

Then open command prompt and go to the path where python is installed and run the following command:

python your_working_directory/helloworld.py

Now you can see the output as:

Hello Wold

on the python command prompt.

For watching the swapping in live you can watch my youtube channel:
https://www.youtube.com/channel/UCkA5xUrlbkdBpZV5WJ2iM0w

Also you can watch the swapping video :
https://www.youtube.com/watch?v=yjW8XqdQm0s

No comments:

Post a Comment