Skip to main content

Encountering The Python



What is Python?

As per Wikipedia “Python is a widely used high-level, general-purpose, interpreted, dynamic programming language.” Python is an open source programming language which was conceived in the late 1980s and its implementation began in December 1989 by Guido van Rossum (more on it here).

What kind of programing language?

To give a better idea let's look at the below mentioned summary-
  • High level language - Python is a high-level language because it provides strong “abstraction”.
  • Interpreted - Python is an Interpreted language because it does not run on a compiler.
  • Dynamically typed language - Python is dynamically typed because in python every variable is bound to an object.

Why should I learn Python?

Python is a very powerful programming language, secondly it's easier to learn and since it's interpreted language the code is easier to understand. Lastly there is a huge community supporting Python so if you get stuck anywhere lot's of help are available out there.

Python as a language is very interesting since it can be used as a acripting language as well as a programming language complete with classes, objects variables and the works.

Python basics

The first basic thing that we can learn to do in Python is calculations, yes like other programming languages python is also very capable of handling numbers as small as 0 to as large as 100000 and more. So, using python as a calculator is an obvious choice to get started. Consider the below example-
>>> 2+24>>> 2 * (5-6)-2

In the above example what we did was that we calculated the sum of 2 and 2 and we did a multiplication of 2 with the sum of 5 & 6. We can also assign these numbers to some variables as shown in below example -

>>> var1 = 2
>>> var2 = 2

>>> tot = var1+var2

>>> tot
4
What we did above is that we assigned the variable "var1" to a number 2 and the variable "var2" again to a number 2, then we calculated the sum and assigned the result to a variable "tot".

This is how we can use python to carry out basic mathematical operations and we can use variables to store the numbers and the results of the mathematical operations. All the above examples just scratches the ability of python as a programming language but there's more to it and there's more to learn. If you want to get started with learning python and learn more about downloading and installing python, learning about expressions, operators and variables then you can go ahead and purchase this lesson and you can get started with explore python.

If you wanna get started in learning Python then why not get started with the python basics chapter. Check out this link to access the Python Basic Chapter for free.


If you want to download a copy of the chapter then purchase the chapter by clicking on the following link.

Additionally you can also bug me on Quora. You can also find me on Twitter or Facebook. So, why wait go ahead and start exploring.

Comments

Popular posts from this blog

What I learned from writing a guest post

                                                     Recently I wrote a python tutorial for Datacamp , while writing this tutorial I learned a couple of things which I am going to share with you right here in my blog post. May be you can use my experiences in your own endeavours as a writer. Idea The first step is idea generation. You can either search through any previous topics in your blog post if you have one or you can go through your past learning, experiences or any problem statement that you might have gone through and you will find that while doing that you can get tons of ideas to start your article. If you fall short of ideas then you can ask for help from may be your social media followings your friends or your family, for example I asked the people at Datacamp  themselves and they suggested me a couple of topics which got me st...

For Loop in python 3 : How to become a Python Jedi - Beginners Python Programming Tutorial - Part 7

I am back again with another part in the beginner python programming tutorial series. We will continue with "Loops" but this time we are going to learn how to use for loop in python 3.  Difference between For loop and While Loop A "For Loop" and "While Loop" have a common connection that both are looping statement, but major difference is that unlike while loop, a for loop gets executed a specified number of times. We can break down the For loop into the following components(Refer to the for loop flow chart below). for keyword variable name call to the range function colon operator clause or block of code Hovering over the flow-chart The above flow-chart is..well horrible I know, but I make my own drawings because I can't afford an artist. So, bear with me. In the above flowchart is a very basicy, laymanish representation of a for loop. The decision box contains the  For  statement along-with it's sou...

Expressions in Python : How to become a Python programming Jedi - A Python programming Tutorial Part 1

Long Long ago in a Galaxy far far away there was a planet named Quora. There was a growing agitation among the planet’s inhabitants to learn the way of the Python programming Force and become a master in the way of the Python programming Jedi, but very few knew that the secret art of the Jedi is embedded in a book named as TheCodingProject…. So, let’s begin the journey of learning the secret art of the Python programming Force and we shall together make the journey towards becoming the Python Jedi…. What is Python? As per Wikipedia “Python is a widely used high-level , general-purpose , interpreted , dynamic programming language .” Python is an open source programming language which was conceived in the late 1980s and its implementation began in December 1989 by Guido van Rossum (more on it here ). For us it’s sufficient to know that Python is : High level language - Python is a high-level programming language because it provides strong “:abstractio...