Introduction to Python

Updated: Dec 16, 2019

Many people have ideas for which they want to make a software, a game, for which they start learning programming. But after trying on for few days people give up they give up on their ideas because they find programming difficult. Hard to write and hard to read also.

As most of the people start learning programming with C or C++ Language where you have to write ; (semicolon) at the end of every line, and even small mistake will cause an error. People don't have enough patience to find errors in code and correct them. This is how most of the people go away from programming and later start hating it.

This is where Python comes to our help, It takes away all the pain that these traditional programming languages have been causing.

Python was developed with following Goals:

1. An easy and intuitive language just as powerful as those of the major competitors.

2. Open source, so anyone can contribute to its development. This is why it has improved a lot over time.

3. Code that is as understandable as plain English which makes it easy to understand.

3. Suitable for everyday tasks, allowing for short development times.

Below figure shows the difference between C and Python code for just printing "Hello World!" statement. Even other complicated tasks can be executed withing very few lines in Python.

Where it is used:

1. Web and Internet Development (e.g., Django and Pyramid frameworks, Flask and Bottle micro-frameworks)

2. Scientific and Numeric Computing (e.g., SciPy – a collection of packages for the purposes of mathematics, science, and engineering; Ipython – an interactive shell that features editing and recording of work sessions)

3. Education (it’s a brilliant language for teaching programming!)

4. Desktop GUIs (e.g., wxWidgets, Kivy, Qt, TKinter)

5. Software Development (build control, management, and testing – Scons, Buildbot, Apache Gump, Roundup, Trac)

6. Business Applications (ERP and e-commerce systems – Odoo, Tryton)

7. Games (e.g., Battlefield series, Sid Meier\’s Civilization IV…),

8. Websites and Services (e.g., Dropbox, UBER, Pinterest, BuzzFeed…)

How Popular it is?

Number of users of Python are increasing day by day On its current trajectory, , Python could leapfrog Java in the next three or four years to become the most-popular language.


- Python was Designed in 1991

- It was designed by 'Guido van Rossum'

- It was named after a character from a BBC television comedy sketch series called "Monty Python’s Flying Circus"

- Python is Second most popular programming Language