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

B.Tech tutor for IIT JEE Mains and 12 board - Maths & Physics.

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

Is Python useful for learning?
Now days Python is very useful for data analytics and Development.
Profile Photo
Venkata
Between Java and Python, which one is better to learn first and why?
Both the development programs come with their strong suits. While Java allows you to enjoy the cross-platform support, Python helps you execute on at least ten different operating systems. It would help...
Profile Photo
Priyanka
0 0
View Comments5
Is Python good for developing games? Why or why not?
Here's a balanced view: *Why Python is good for game development:* 1. *Easy to learn*: Python is a great language for beginners, making it an excellent choice for new game developers. 2. *Fast development*:...
Profile Photo
Raindial
0 0
View Comments5

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

Ask a Question

Related Lessons

Why Do People Choose Python?
Lot of programming languages are available in the market today, but why do people choose python over them? What made it different from other scirpting languages. So factors made it unique, as below: Software...
Profile Photo

Personalise touch of training & learning
We all are in countinous learning phase in life. Day to day we are learning new things,new language words,new faces,new gazets by all means of modes like reading books,newspapers,watching TV,movies,meeting...
S

Smartnub Softsolutions

0 0
View Comments0

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....
Profile Photo

Two lists using Loops - Python Program 1
To generate a list of all possible combinations of two lists using loops, you can use nested loops to iterate through both lists and create a new list that contains all the combinations. list1 = list2...
Profile Photo

DBMS - SQL - Any/All
All - Operator SELECT empno, sal FROM emp WHERE sal > ALL (1999, 2999, 3999); Output of Above query is same as below query SELECT empno, sal FROM emp WHERE sal > 1999 AND sal > 2999...
R

Radhe Shyam

0 0
View Comments0

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