blob: cfa992a430a6f7e73ec10b2e9eee941430209e3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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|}
|