Python tutorial- development requirements

Development Requirements


Before you can start programming, you need to install Python 2.5 or never package. Under windows, you need Python installer file (e.g. python-2.5.1.msi). You can download this file from the various web sites especially from http://www.python.org site. If you are Linux user, you may need helps from the webs to get the package and to install it. After you completely install it, you can start it by clicking on IDLE (Python GUI) from start menu to launch it.

 python IDLE

Of course, you may need additional packages to be installed. Installing only Python package is a good place to start while you still have a long way to walk. I will tell you the additional packages you need to install when we need them later.

 
Now let’s print Hello World on the screen by writing the following code:
>>>print 'Hello World'
And you will get Hello World immediately after pressing enter.
   
>>> print 'Hello World'
Hello World
>>> 

If you want to print a long string than spans several lines, you can use triple quotes instead of single quote or double quotes.

>>> print '''Learning C++ programming language is a bit hard.
Learn Python programming language is more funny.'''
Learning C++ programming language is a bit hard.
learn Python programming language is more funny.



Comments

Name:
Comment:
Enter the text:
CAPTCHA image

....................................................................................................................Home | Forum | About | Contact
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages:
C, C++, C#, Java, VB.NET, Python, VBA,PHP & Mysql, SQL, JSP, ASP.NET,HTML, CSS, JQuery, JavaScript and other applications such as MS Excel, MS Access, and MS Word. However, we don't guarantee all things of the web are accurate. If you find any error, please report it then we will take actions to correct it as soon as possible.
Copyright @ 2011-2013 worldbestlearningcenter. All Rights Reserved.
Home Programming Web DB & App Questions Exercises Tips Programs FAQs Download About
Computer-Wbest
Popular Pages
You might like