Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11
Well, Python has many scientific oriented libraries like: NumPy, SciPy, SymPy, Matplotlib, pandas, ChemPy, AstroPy and others. Plus it natively supports complex numbers and exponents. And Jupyter notebooks are Python based. So it's quite obvious why now it's used in scientific fields, so why was it used before all those libraries were created? 🤔 Maybe before it wasn't used much in scientific fields, I don't know, but nevertheless it had success thanks to the fact it's extremely easy to learn: I completed the SoloLearn course in a week without effort (I have an informatics background, but with it's uselessness Pascal and a tiny bit of c/c++) But yes: Python is slow like a brick. 😄
21st Feb 2019, 5:25 PM
Federico Corradini
Federico Corradini - avatar
+ 9
It's more easy to learn and full of science libraries?
21st Feb 2019, 2:32 PM
Николай Шаповаленко
Николай Шаповаленко - avatar
+ 9
I don't think python is too slow to accomplish a task. Many software engineers and data scientists use python as a good tool. Also the reason that python is so popular us presence of a good base of inbuilt and user created modules which are useful for general purpose programming and data science. Many modules like numpy, scipy, pandas are used in scientific and data science related things.
21st Feb 2019, 2:47 PM
Seniru
Seniru - avatar
+ 9
The real reason is that scientific computations programs are way more complex than any other type of program, those programs contains very complex algorithms. Imagine doing AI or data science with C++, your brain would literally give up(that's an exaggeration, but it wont be friendly) . Python is inherently slow but it also has libraries that has some level of C++ implementation that helps it run faster. When python is used on robotics, it is usually used together with a relatively lower level language to do the heavy lifting. Python's easy syntax makes it the winner in the field.
22nd Feb 2019, 6:31 AM
Victor Elezua
Victor Elezua - avatar
+ 8
I'd say because it's been around much longer than more modern "efficient" languages, and therefore has a much bigger user base and fan club.
21st Feb 2019, 2:43 PM
Tony
Tony - avatar
+ 8
Python is powerful for all purposes. It has many libraries which help you make hard things, easy things. Thats why its used in data science.
21st Feb 2019, 10:28 PM
Black Winter
+ 8
One word. Libraries.
22nd Feb 2019, 1:15 PM
Sonic
Sonic - avatar
+ 7
So, as others have said, python is great because you don't need 10 + years to be awesome at it, it works cross platform, huge community and great libraries for scientists and humans alike. Try c++ or c# and you will see what I mean. You can use python scripts in c, c++ and c# too. Python really is a great little language. Basically, python is for everyone.
22nd Feb 2019, 3:11 AM
Cameron Hansen
Cameron Hansen - avatar
+ 6
I've actually done some basic(too basic😀) data science in my phone. And had some courses. Many says Python is too slow than lower level languages. And only reason for it being popular is it's easiness… No, actually Python is high level programming language and thus slower definitely. But it has many modules and features making it easy and dynamic with less proneness to human mistakes. Now, main thing about speed. You may know about NumPy module and maybe others. You may have noticed it's array is more rigid than Python lists, but much more speedy. Specific modules actually bring to low levels and increases speed. That's why using modules and libraries is recommended even if you can do without it. (I couldn't explain perfectly as English isn't my native language, hope you undertake my meaning) Modules and libraries are also regularly updated.
21st Feb 2019, 3:46 PM
Emoji FanBoy
Emoji FanBoy - avatar
+ 5
NumPy, SciPy, Pandas
21st Feb 2019, 9:49 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
+ 4
it just a need a simple answer, as we know python is a programming languange that near with human languange ,in this case with english languange, and it have a lot a library thats written with an old languange, and pyhton is a simple language programming, in other languange wee need a write some line code to print 'hello world' but with python we need just one line of code.
22nd Feb 2019, 4:02 AM
Raja Azian
Raja Azian - avatar
+ 4
Python is simply the best, you can't argue with the best, when something is good, it's good, people will know it's good, people will use it, everyone loves good things 😂😂
22nd Feb 2019, 10:09 AM
Ogu Mitchelle
Ogu Mitchelle - avatar
+ 4
Part of the reason for python's relative slowness, is that it is an interpreted language. Some of this disadvantage can be mitigated with Cython or Jython, which are basically extensions (or alternative implementations) of the Python language with C and Java interop, turning it into a compiled language, thereby increasing its performance.
22nd Feb 2019, 10:30 AM
Tibor Santa
Tibor Santa - avatar
+ 3
I took a refresher CS class in college and they used python as the language. I think it is good for beginners as well. I also took a more advanced class with the same professor and we used python again.
22nd Feb 2019, 11:26 AM
Austin Krause
Austin Krause - avatar
+ 2
"Naked" python is slow, but libraries like numPy are written in c++, so they are fast.
23rd Feb 2019, 2:15 AM
sumAB
sumAB - avatar
+ 2
Well you can speed up python code by using implementations like cython or pypy
23rd Feb 2019, 6:28 AM
Random
Random - avatar
+ 1
Because..... 1. Its sooo SIMPLE, seriously! 2. Its a general purpose language. Its like the swiss knife for languages. 3. The abundance of LIBRARIES. 4. Its slow sure but couple it or implement it with other language and problem solved!
24th Feb 2019, 9:54 AM
Eric Kiser
Eric Kiser - avatar
0
I Will Not Give Up! 😂😂😂it's true
22nd Feb 2019, 2:18 PM
Ogu Mitchelle
Ogu Mitchelle - avatar
0
it's easy and fun for beginners or people who code for fun. I'm planning on learning javascript but python is starting me off. plus, it's not tHät sLoW and logo's probably slower
23rd Feb 2019, 12:28 AM
Han Huo
Han Huo - avatar
0
because pythong is uses easy
24th Feb 2019, 8:55 AM
ahmed