Is Python suitable for scientific computing algorithms?

My interests in programming are mainly in algorithms, and lately I have seen many reputable researchers write a lot of their code in python. How simple and convenient is python for scientific computing? Does it have an algorithm library that compares with Matlab? Is Python a script or is it compiling? Is this a great language for prototyping an algorithm? How long will it take me to learn this productively enough if I know that C is good and OO programming? OO founded?

Sorry for the concise format of the questions, but I am very curious and hoped that a more experienced programmer could help me.

+5
source share
9 answers

How simple and convenient is python for scientific computing?

Highly! You should try attending SciPy conferences (every year there in the USA and one in Europe) to get a real feel for this, but even the rest of the site scipy.orgshould give you some impression.

Does he have a library of algorithms that compares with Matlab?

I don't know matlab, but the number of things available in / for Python varies.

Is Python a script or is it compiling?

Python is a language, and it offers many implementations (all open source).

, CPython, -, ( , , ). Java/JVM #/. Net, , (, , , , ).

Jython - JVM, JVM; Microsoft IronPython ( , ) CRL ( ".Net bytecode" ), .NET Mono. , .

PyPy Python , ( Python) () ( Python), , . PyPy , . ( , Python, , , , , , - ).

- (, , - PyPy , , , ).

?

; . 18 Python, , . Google Books, , , SO; !

? , C OO ?

Python, , : - ( 6 , wee , ), , - CGI, ( , , , , , : , EE , ; -).

, 54 ( ;-), (CGI , ), , ( Python , , perl ++).

24 ( , , ), , - - CGI , , , ( , ), yaptu, " Python" - , - ... ; -).

, Python. , Python, , , Python ( , Google) - ( , , , Python Software Foundation). "" P ♥ THON...;-). , , . 24 , , 54 ( , , SW, , , " " X " SW- X; -).

?

, (, ++... , ++) - class es, , ( , "" FP, Haskell, ).

+14

python ?

SciPy/NumPy.

, Matlab?

.

Python ?

.

?

.

, , , C OO?

.

?

.

+16

, - .

NumPy

.

+11

:

python ?

python , . , , . , , C.

, Matlab?

, python . , NumPy SciPy . :

, python . , networkx library - .

Python ?

, python . , py2exe. python . , python. , c/++ SWIG.

?

. C/++. :

 //C++ loop a one dimensional array and print value
  const int N = 100; 
  int A[N];
  for (int i = 0; i < N; ++i)
      cout << i;

#python loop a one dimensional array and print value
for i in range(100):
   print i

, , , , , .

, , , C OO? ?

Python C. , c- python. python , - . , python . , python .

Python OO.

+8

Python 6 . Matlab/IDL, , .

, SciPy Matplotlib, / . , Amazon, , .

Python - , .

+4

C - - , python - / . : - . - - . - - . - , .

- : - . ++ , Java, , , - , . , , , . , , - , . . - - , . . - . . - .

: - , Ruby, , Java. - "" . - C . , , - .

, python : http://www.python.org/dev/peps/pep-0008/

, , , concurrency. Stackless Python, C. EVE Online .

, , , - - - , . http://musicmachinery.com/2010/05/21/the-swinger/

+3

, , , Python.

+2

Python , ?

+1

/. , python, , , - , SWIG boost.python, C/++- . , / C/++. , .

, , , Python, , , . .

+1

All Articles