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 teacher for 9-12th class 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

How do I learn Python in depth?
Learning Python in depth is not a big issue first start practising basic of coding daily don't copy and paste start writing the code , after these basic you can go for advanced level of python like OOPS...
Mahender
0 0
5
Why does â??5/2 = 2â?? and not 2.5 in Python?
Due to dynamic Typing. use Numpy , and declare data type , you will get desired result
Srikanth
0 0
6
What are the best learning sites for Python?
The best learning sites for python are: 1.The Official Python Tutorial 2.CodeWars 3.FreeCodeCamp -- Python Tutorials 4. SoloLearn 5. A Byte of Python
Apoorva
1 0
6

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

Ask a Question

Related Lessons

What is M.S.Project ?
MICROSOFT PROJECT contains project work and project groups, schedules and finances.Microsoft Project permits its users to line realistic goals for project groups and customers by making schedules, distributing...

Learn Python : Slicing out an email address
We take a small task of slicing out the username and domain name from an email address. We ask the user to type his email address. We take his email address and slice out first his username and then the...
B

Biswanath Banerjee

0 0
0

File Handling in Python - Basic Concept
File (Flat) Handling in Python Types of files in python: 1: Text file: Stores data in the form of characters. Customarily used to store text/string data. 2: Binary file: Stores data in the form of bytes....

Python Introduction
Python is an object-oriented programming language created by Rossum in 1989. It is ideally designed for rapid prototyping of complex applications. It has interfaces to many OS system calls and libraries...
I

Imran

0 0
0

Using the Math Library in Python
Using the Math Library in Python. Python provides many useful mathematical functions in a special math library. A library is a module that contains some useful definitions. We now consider...

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