Python: The Master Programming Language - By Rohit Sharma

Updated: Apr 25



I am Rohit S Modgil under Shoolini University’s AI-ML Super 20 program, I am starting my journey to learn python for data science, machine learning and, artificial intelligence. Walk with me to know what I learn about this language:



Why calling it Python? 

Well, Guido Van Rossum, the creator of Python tuned in for “Monty Python’s Flying Circus” and he liked the show so much that he named the language python thinking it would be short, unique, and enjoyable by programmers. 


Here’s what I learnt this week:

Python is a high-level programming language that finds use in varied fields of programming right from web development to database management to AI. It’s a modern language and a potential competition for Java. The developers of Python [also includes an open community for Python] are on the continuous work of improving Python to make it more friendly. 


Let’s discuss Python’s salient features: 


Shorter code length: The codes that are usually complex and long in other programming languages are shorter and simpler in python.


The Indentation rule: Usually, languages do not care about spacing but python, on the contrary, is very strict about spacing. There are 4 spaces [1 tab] of indentation required for a child of parent statement. 


No semicolon, No {} brackets: The common mistakes in a program are usually forgetting to place a “;” or close “}”. Well, cheers to that no need for doing that in python. The Indentation rule has removed the need for that. 


Proper English: The syntax seems to follow proper English and thus the unnecessary need of using abbreviations isn’t appreciated here. For example, int a=10; can be accepted by other languages. However, Python goes with int a = 10. This is all to make the code clearer to look at. 


Paradigms followed:  Python follows imperative, Object-Oriented, procedural and, functional paradigm. 


Blank Lines: “Readability counts” is among “The Zen of Python”. To make code simpler and better to look at, Python depreciates hotchpotch strictly. So, in Python: 

    

Two classes and top-level functions are separated by 2 blank lines. 


Method definitions under the classes are separated by 1 blank line. 

Aside from these, there are various rules that a programmer needs to follow. Most of them are just guidelines for making your code well-read and understandable. Say bye-bye to complicated programming.

Python is used for embedded scripting [mostly providing an interpreter to other language codes], image processing, database programming, AI, Internet scripting [adding dynamic capabilities to web pages], and data analysis [including weather forecast, ad targeting, etc]. 



To conclude, one can say that it is the point where all programming languages meet to form a master programming language. Stay tuned as I unravel Python with my journey.


5 views

Contact Us:

A-116, The Corenthum A-65,

Sector 62

Noida 201301

UP, India

Phone: +91 8527207966

Email:abhay.pandey@theikigailab.com

© 2020 TheIkigaiLab  Terms of Use Privacy and Security Statement