7 minutes to Learn Python Programming Right Now

Hi , Its a quick tutorial and I have only 7 minutes of your precious time So lets start without any further ado.

Installing Python :

  • If you are on Linux or Mac Machine Python is already installed on your system .
  • On Windows system Simply to the https://www.python.org/downloads/ and download the version 2.7.x where x can be anything(My case 9) , see the image below for further reference.
  •     Just add Python to you Path on windows using this Link

Hello World Saga :



Data Type , Strings with Syntax

Basic syntax is same any other programming language like Java , The data structures available in python are lists, tuples and dictionaries. Sets module provides classes for constructing and manipulating unordered collections of unique elements. Common uses include removing duplicates from a sequence.

  • Lists are like one-dimensional arrays (but you can also have lists of other lists). Tuples are immutable one-dimensional arrays
  • Dictionaries are associative arrays (a.k.a. hash tables)
  • Strings  – Strings are immutable in python , Below image shows how you can assign a variable with String value and Concatenate it with other data types like Int , Boolean etc.





[code] Output : range(0, 10) Even Number Old Number Even Number Old Number Even Number Old Number Even Number Old Number Even Number Old Number
1 2 3 4 5 6 7 8 9 [/code]

Functions and Claases



 Hi I am Function 3




>>> some_function()
Oops, invalid.
We’re done with that.


File I/O



More IO operations here

I hope I was able to give you a quick glimpse of Python in 7 minutes. Please leave comments if you believe there is something that could be improved or added or if there is anything else you would like to see.

1 thought on “7 minutes to Learn Python Programming Right Now”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.