Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to use NumPy/SciPy. Should I use Python 2 or 3?

I am about to embark on some signal processing work using NumPy/SciPy. However, I have never used Python before and don't know where to start.

I see there are currently two branches of Python in this world: Version 2.x and 3.x. Being a neophile, I instinctively tend to go for the newer one, but there seems to be a lot of talk about incompatibilities between the two. Numpy seems to be compatible with Python 3. I can't find any documents on SciPy.

Would you recommend to go with Python 3 or 2?

(could you point me to some resources to get started? I know C/C++, Ruby, Matlab and some other stuff and basically want to use NumPy instead of Matlab.)

like image 513
bastibe Avatar asked Jan 21 '11 12:01

bastibe


People also ask

Does SciPy support Python 3?

Python 3 support in SciPy was introduced in SciPy 0.9. 0.

Which is better NumPy or SciPy?

NumPy is written in C and so has a faster computational speed. SciPy is written in Python and so has a slower execution speed but vast functionality.


1 Answers

Both scipy and numpy are compatible with py3k. However, if you'll need to plot stuff: matplotlib is not yet officially compatible with py3k. So, it'll depend on whether your signalling processing involves plotting.

Syntactic differences are not that great between the two version.

like image 51
SilentGhost Avatar answered Sep 20 '22 20:09

SilentGhost