PYTHON Introduction

Share via:

PYTHON Introduction

Program: A program is a set of instructions that can be executed by the computer to perform a specific task.
Purpose of using programs:
👉 To get accurate results.
👉 To get output very fast.
We can write the programs using both the programming language and scripting language.

 

Difference between programming language and scripting language
▪️ Most of the programming languages are statistically typed but scripting languages are dynamically typed.
▪️ Programs written in programming language are compiled using a compiler which will convert it to intermediate code before the execution whereas scripting languages are interpreted using an interpreter.
▪️ Programming languages are used to develop standalone applications whereas scripting languages are used to perform automation.
▪️ Programming languages execute the programs at higher speed as compared with the scripting language.
▪️ Programming languages may generate the platform specific binaries whereas the interpreted languages are portable.
▪️ Programming language is a heavy weight language, but scripting language is lightweight language.
Examples:
Programming languages: Java, C, CPP,
Scripting languages: python, JavaScript, Perl.

 

Python
Python is a high-level, interpreted, and general-purpose programming language. It was created by Guido van Rossum and first released in 1991.
It is the fastest scripting language.
It is an accessible language for beginners while maintaining powerful features for professional developers.

 

Why python got its name?
When Guido van Rossum began implementing Python, he used to read the published scripts from Monty Python’s Flying Circus, a BBC comedy series from the 1970s. Van Rossum thought he needed a name that had to be short, unique, and slightly mysterious, so he decided to put the name of the language Python.

 

Execution of Python Code
1) Compilation: Compiler
Converts the high-level code to low level code/machine understandable code/binary code.
2) Execution:
Resolving the binary code step by step is called execution.

So, python is both compilers based and interpreter-based language.

 

👉 Features of python:
▪️ It is free and open source you can download it from www.python.org/downloads
▪️ Large standard library
▪️ Simple and easy to learn
▪️ Platform independent
▪️ It is a scripting language
▪️ Object oriented language
▪️ Dynamically typed language

 

👉 Applications of Python
▪️ Web development
▪️ Automation and testing
▪️ Networking
▪️ Game development
▪️ Application development.
▪️ Desktop applications
▪️ Artificial intelligence
▪️ Web scraping
▪️ Data science

 

👉 Disadvantages of using python
▪️ Slower execution speed,
▪️ Not suitable for developing mobile applications.
▪️ More memory consumption.
▪️ Python has a smaller pool of experienced developers compared to other languages like java.
▪️ It’s near impossible to build a high-graphic 3D game using Python
▪️ Runtime errors: More errors (Exceptions) will be shown at Runtime. (At the time of execution)

 

Author    : Venkat Vinod Kumar Siram 
LinkedIn : https://www.linkedin.com/in/vinodsiram/
Thank you for giving your valuable time to read the above information. Please click here to subscribe for further updates
KTExperts is always active on social media platforms.
Facebook  : https://www.facebook.com/ktexperts
LinkedIn    : https://www.linkedin.com/company/ktexperts/
Twitter       : https://twitter.com/ktexpertsadmin
YouTube   :  https://www.youtube.com/c/ktexperts
Instagram  : https://www.instagram.com/knowledgesharingplatform
Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

Add Comment