[Tutor] Comparing numpy and pylab

Peter Otten __peter__ at web.de
Fri Feb 3 21:50:54 CET 2012


Debashish Saha wrote:

Welcome!

> what is the basic difference between numpy and pylab?

You can find out yourself. Start Python's interactive interpreter and type 
help("pylab"):

>>> help("pylab")
    ...
    This is a procedural interface to the matplotlib object-oriented
    plotting library.
    ...

>>> help("numpy")
    ...
    NumPy
    =====

    Provides
      1. An array object of arbitrary homogeneous items
      2. Fast mathematical operations over arrays
      3. Linear Algebra, Fourier Transforms, Random Number Generation
    ...


Get into the habit to look for an answer yourself before you ask here. Then 
tell us what you have already tried.



More information about the Tutor mailing list