CBSE CS and IP

CBSE Class 11 & 12 Computer Science and Informatics Practices Python Materials, Video Lecture

Basics of Python Programming

Basics of Python



Friends you must have heard the name of  "Python". If you don't have any knowledge about it and you want to learn "python programming language", then this article is for you. In this article, you will learn about the Basics of the Python programming language.

If you want to become a successful Programmer with working knowledge of the latest technology, then python is the best programming language for you. Python is very simple and one step ahead of other programming language.

Python is the most popular language for programmers as it is used in everything from "web development"  to "software development" and from "scientific application making" to "Data Analytics".

So now you will get introduced to a new programming language Python. I promise this programming language will make you a big programming fan.

History Of Python

Python is an interpreted, highly powerful Object-Oriented Programming Language created by "Guldo van Rossum". It was first released on the year 1991. Python is a dynamically typed Programming language that supports multiple programming paradigms. 

Pythons first version 1.0 was introduced in 1994. After this, many versions and updates of Python were released and still releasing.

Python is a high-level programming language yet as powerful as many other middle levels not so high-level languages like "C, C++, java" etc.


What Is Python?

Python is an "Object-Oriented High-Level Programming Language". It is used for "Website Building", "App development", "Machine Learning", "Data analysis" and "Natural Language Processing". Python is also called a general-purpose programming language, 

Because of the clear syntax and readability of the python language, it has become the most popular language in the world today. Python features like "dynamic typing" and "dynamic binding" made it more powerful. Python language is an Interpreted language and not a compiled language. This makes debugging python easy.



The most important thing in python is, No curly brackets '{', '}' are required to write python code like other languages. We have to use indentation instead of curly brackets.

Features of Python

Python provides various features which made it one of the most popular programming languages. Some of the important features are:
  1. Easy to use -:  Python is a very easy-to-use Object-oriented Language with very simple programming rules. It is high level and programmer-friendly language. Python syntaxes can be learned with little effort. Despite having a high-level programming language, Python codes are easy to understand and learn like the English language.
  2. Free Language -: Python is a completely free language. We do not have to pay any money to download, use and code.
  3. Expressive Language -: It is capable of expressing the code's purpose more than many other languages. 
  4. Interpreted Language -:  Python language is interpreted language, not a compiled language. That means it executed out code line by line. This makes it easy to debug.
  5. Open-source language -: Python is an open-source language. That means you can modify, improve or extend it.
  6. Variety of application -: Python can be used for various purposes like Scripting, Web application, Game development, Database Application, GUI Programs.
  7. Embedded -: Python has fully embedded means other programming language code can be inserted in its source code and python code can be inserted in the source code of other languages.
  8. Large standard library -: When we download python it also provides a large library of code with it. Because of it you do not have to write your code for everything. This gives us a rich set of modules and functions for rapid application development.


Why Python is Used?

There are many advantages and features that make Python a better language than others. Since it is an Open Source Language it has vast support of external libraries. There are libraries available for almost every type of work. That's why with python you have to code less.
External libraries work like plug and play, you can import any external libraries, and then you can start using them.

Python is can be used for various types of work, few examples are given below: 
  1. Desktop GUI Applications -: Python can be used for developing desktop GUI applications. Some of the libraries are Tkinter, Camelot, Kivy, PyGTK, etc.
  2. Web Development / Web application -: You can use python for developing Websites and Web applications. Python has pre-built libraries and Web frameworks. It is especially great for using on backend Web development projects. Python libraries can help integrate protocol such as "HTTPS, FTP, SSL" & help processing for "JSON, XML, E-mail".
  3. Scientific Computing / Data Science -: Python is also used for scientific research and computing like Astropy for astronomy, Biopython for biology and bioinformatics, Graph tool for statistical analysis of graphs.
  4. Open Source Frameworks and tools -: Python is an open-source programming language. You can use several open-source python frameworks, Libraries, and Development tools.
  5. Robust Standard Library -: Its large and robust standard library makes python score over other programming languages.
  6. Natural language process -: There are already available NLP libraries, that can be used for Natural Language Processing. Ex:- spacy, coreNLP, NLTK etc.
  7. Machine Learning -: Python machine learning libraries have become the most useful libraries for ML algorithms.
There are many other works that can be done by python like Video Game Development, Entertainment Applications, Audio, and Video Applications, CAD (Computer-aided Design) Applications, etc.

What is the advantage of Python? 


  1. The presence of Third Party Modules makes python more powerful. Most of the python third-party module makes python capable to interact with other languages.   
  2. Python has large Extensive Support Libraries which include internet protocols, string operations, web services tools, and operating system interfaces.
  3. Python is Open Source Language and Developed by a Community. Since it is developed under Open Source Licence it is free to use and distribute. 
  4. Python Offers Easy to Learn Syntax and excellent readability
  5. It offers User-friendly Data Structures.
  6. It is faster in execution.

Top 10 Big Companies that are Using Python


No comments:

Post a Comment