using_python_modules/quickref.tex
author Anoop Jacob Thomas<anoop@fossee.in>
Sat, 18 Dec 2010 12:54:49 +0530
changeset 524 b602b4dcc87d
parent 522 d33698326409
permissions -rw-r--r--
Made some changes to the script embellishing a plot, but it still needs changes.

Import all definitions to current name-space:\\
{\ex \lstinline|    from scipy import *|}

Import few definitions to current name-space:\\
{\ex \lstinline|    from scipy import linspace, pi, sin|}

Import a module as a new name-space:\\
{\ex \lstinline|    import scipy|}

Few standard python modules:\\
{\ex \lstinline|    Math: math, random|}
{\ex \lstinline|    Internet: urllib2, smtplib|}
{\ex \lstinline|    System: sys|}
{\ex \lstinline|    OS: os|}
{\ex \lstinline|    Regular Expression: re|}
{\ex \lstinline|    Compression: gzip, zipfile, tarfile|}