yt

Header Ads

Chapter 1 Introduction to Python 2024 - Technology369kk

Overview of Python

Introdcation of Python:

Python is an easy-to-learn and powerful Object-Oriented Programming Language. It is a high-level programming language. 

So, In this chapter we are discuss in details about Python, Why, What and How to use  and featues with advantage and disadvantage. 

Why Python? 

  1. Easy to Use :  Python is comparatively an easier to use language as compared to other programming languages. 
  2. Expressive Language : The Syntax of Python is closer to how you would write pseudocode. Which makes it capable of expressing the code's purpose better than many other languages. 
  3. Interpreted Language:  Python is an interpreted language, this means in web development owing to the variety of web Development platforms built over it like Django, Flask, etc. 

It is used for :   

  • Web development (server-side), 
  • Software development, 
  • Mathematics, 
  • System scripting 


Advantage of Python : 

  • Python works on diffrent platforms (Windows, Mac, Linux, Rasberry Pi, etc). 
  • Python has a simple syntax similar to the English language. 
  • Python has a syntax that allows developers to write programs with fewer lines than some other programming languages. 
  • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick. 
  • Python can be treated in a procedural way, an object-oriented or a functional way.  

Advantage of Python : 

  • The most recent major version of python is Python3, which we shall be using in this tutorial, However , Python 2 although not being updated with anything other than security updates, is still quite popular. 
  • In this tutorial, Python will be written in a text editor, It is possible to write python in an Integrated Development Environment such as Thonny, Pycharm, Netbeans, or Eclipse which are particularly useful when managing larger collections of Python files. 

Python Syntax compared to other programming languages:  

  • Python was designed for readability and  has some similarities to the English langauge with influence from mathematics. 
  • Python uses new lines to lines to complete a command, as opposed to other programming language which often use semicolons or parenthese. 
  • Python relies on indentation, using whitespace, to define scope; such as scope of loops, functions, and classes. Other programming languages often use curly brackets for this purpose. 

No comments

Theme images by Dizzo. Powered by Blogger.