Friday, December 25, 2015

Python Basics 01 - Hello World Application


Hello There!

Today we are going to develop a Hello World application using Python Programming Language.

Python is a widely used general purpose, high level programming language. Its syntax allows programmers to express concepts in fewer lines of code.

First of all to begin Python programming you should have to install Python to your computer. You will be able to download the Python Setup from the following link.
https://www.python.org/downloads/

After downloading and installing Python to your computer open your notepad or any text editor which you have installed in your computer.

Now lets write the "Hello World!" application using python.

print("Hello World!")

After typing the code you have to save the text file using ' .py 'extension. It is mandatory to save the file using .py extension.

After saving the file start your command prompt and go to the directory where you have saved the python file.
Then type:
python <filename>.py

Example : python helloWorld.py

Then Python compiler will compile and run the code. You will be able to see the output in the command prompt.

Let's meet with another tutorial.

Past Topics:-


No comments:

Post a Comment