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

Can we code a website from python?
Yes, You can code or develop a website with Python but you need a framework like Django and Flask. These frameworks help you create a website with the help of Python.
Mridulika
0 0
5
How do apprachto an unknown problem to construct itssolution? Especially when do you face any programming challenge.
First approach your teacher or tutor about problem statement and ask for solution to get it solved.. Next practise similar kind of things by using other books or google or youtube help... If you u facing any challenges...
Tanmoy Gupta
0 0
8
What is a beginner's guide to Python programming?
A beginner’s guide to Python programming starts with learning the basics, such as syntax, variables, data types, loops, and conditionals. Next, focus on understanding functions, modules, and key...
Dharmendra
0 0
6
What is the best python institute
All institutes are best, but you should check with the instructor, how will teach and guide you
Dinesh
Which should I learn: Python or PHP?
Would depend on your goals but these days python is fairly popular in solving web development related tasks with ease.
Sarath Chandra
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

Back Reference In Python Regex
What if your interviewer asks about this? We know Regex have some useful functions like: match ( Ex: re.match(pattern,dataSource) ) search ( Ex: re.search(pattern,dataSource) ) sub ...

Python Important Operation Formats and Sytnax.
Hello Python Enthusiast, Though Python is considered as one of the easisest language to learn in the market, many freshers and beginners will find great difficulty in understansing the syntax and also...

Python Puzzle: Find The Checksum To Ensure Flawless Data Transfer
Find below the puzzle: sampleInput='''5195 753 2468''' The first item's(5195) largest and smallest values are 9 and 1, and their difference is 8. The second item's(753) largest and smallest values...

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

What is a Decorator in Python?
🎀 What is a Decorator in Python? A decorator in Python is a powerful tool that allows you to modify or enhance the behavior of functions or methods without changing their actual code. Decorators use...

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