If Python is slow compared to other languages, then why are we still using it?

Asked by Last Modified  

4 Answers

Learn Python

Follow 2
Answer

Please enter your answer

Tutor

"Python is slow" is a misunderstanding. For instance, if you use some of the most popular libraries (like Numpu, Scipy, Panda, etc.), then is too fast compared to core Python code. It is because of the most libraries are written in best language for the different platform. For instance, most code of...
read more
"Python is slow" is a misunderstanding. For instance, if you use some of the most popular libraries (like Numpu, Scipy, Panda, etc.), then is too fast compared to core Python code. It is because of the most libraries are written in best language for the different platform. For instance, most code of Numpy is written in C/C++. In addition, there are many python tools for optimal utilization of the underlying hardware. For instance, Theano/Theanets/Keras takes code in python, and they "convert" your coding in the best way possible for your system. It can use underlying GPU, multiple processors, or cluster without much efforts. Because of this, you don't have to learn C, C++, CUDA, OpenCV, etc. Python is very popular for it's simplistic and readability. Because of simplicity, it's popular in search. A researcher can write modify his/her experiment quickly. Readability is one of the important factors in an industry environment as maintenance of software takes 60-80% of the total effort. In addition to above, what else one needs? Good libraries for various tasks? There are lots of libraries. You name the task, and most likely there will be a library. This makes the development of software and experiment-setup for research very easy. read less
Comments

Maths & Physics tutor for 11-12th as well as IIT JEE.

Very good question............ a thing is in use ONLY as long as it has some ADVANTAGE over other. Every language has its own pros & cons. There are situations/applications where speed of execution is of second importance. Python has several advantages , it is a DEVELOPERS delight , because 1.It has...
read more
Very good question............ a thing is in use ONLY as long as it has some ADVANTAGE over other. Every language has its own pros & cons. There are situations/applications where speed of execution is of second importance. Python has several advantages , it is a DEVELOPERS delight , because 1.It has simplest syntax 2. it has the best in-built functions , no other language has as many functions on data structures like lists, dictionaries, etc 3. It has best & fastest libraries/frameworks for latest technologies like Data Science, Machine learning, Big data, web development , Scientific & Numerical programming, Embedded systems, IoT etc . read less
Comments

It Professional and Trainer With 3 Year of Experience

depends what career you want to choose
Comments

Trainer

Best thing about Python as it have lots of inbuilt API for support all kinds of tasks even ML, AI, OS. and very easy when you writing code. for ex. when you define variable you not need to specify variable just by assigning value it ll identify the type of variable. which most of languages like c, c++,...
read more
Best thing about Python as it have lots of inbuilt API for support all kinds of tasks even ML, AI, OS. and very easy when you writing code. for ex. when you define variable you not need to specify variable just by assigning value it ll identify the type of variable. which most of languages like c, c++, java don't have which are faster than python. similarly it have more other advantages which make tester or QA to prior regarding automation and development. read less
Comments

View 2 more Answers

Related Questions

What are the best online courses to learn Python in 2021?
The best online courses to learn python in 2021 are: 1. Complete Python Bootcamp 2022: Go from Zero to Hero in Python 2. Python 3 Tutorial from Codeacademy 3. Python Programming Masterclass 4. The...
Anupam
0 0
6
Who developed Python?
Guido van Rossum
Govind
0 0
5
How can I easily learn Python?
UrbanPro does not allow naming a website in answer so I have to write in this way. 'sololearnDOTcom/Course/python' is the website you can follow for easily learning python3. Its like playing a game over there.
Aditi
0 0
6
Why is Python so popular despite being so slow?
Most programmers nowadays focus on the readability and quality of the code to maintain and update the software easily in future. In addition to being simple and easy-to-learn, Python enables programmers...
I T Roxaana
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Write a python program to display dictonary details from list of dictonary
Print the Following: Print all dictonary in a seperate line. Name of all the products. Total quantity of all the products. Details of any product name when provided. Convert all the product name to upper case and print.
A

Ankit P.

0 0
0

Python- Basic Concepts part 1
1. What is Python? Python is a high-level programming language, with applications in numerous areas, including web programming, scripting, scientific computing, and artificial intelligence. It is...

map function in python
The function map takes a function and an iterable as arguments and returns a new iterable with the function applied to each argument. Example: def add_five(x): return x+5 nums = result = list(map(add_five,...
S

Sudheer S

0 0
0

Python (Concepts and Importance)
Python is a general-purpose, interpreted, object-oriented programming language. Python was created by "G. V. Rossum" in the Netherlands in 1990. Python has become a famous programming language widely used...

Steps of Execution of a Python Program
When we compile a Python program, the python compiler converts the Python source code into another code called byte code. Byte code is a fixed set of instructions that represent different types of operations....

Recommended Articles

Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Looking for Python Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you