ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 17.04.2021
Просмотров: 3718
Скачиваний: 3

Introduction to Python for Science, Release 0.9.23
C.2 Books
There are a lot of books on Python and there is no way I can provide reviews for all of
them. I have found that the book by Mark Lutz,
Learning Python
, published by O’Reilly
Media does the trick for most people. It doesn’t have anything special for scientific pro-
gramming, and thus does not cover the NumPy, SciPy, or MatPlotLib packages, but for
just about everything else, it’s an excellent resource. It gives a good introduction to object
oriented programming, or OOP, which I say little about in this text. The 3rd edition of
the book covers Python 2 while the 4th and 5th (current) editions cover Python 3. You
are probably better off getting the latest edition as everybody will soon be using Python
3. If you are using Python 2, as we do in this text, you can easily enough figure out the
differences between Python 3 and 2.
C.2. Books
195

Introduction to Python for Science, Release 0.9.23
196
Appendix C. Python Resources

INDEX
array (NumPy),
printing,
assignment operator,
Canopy
Code Editor,
installing Python,
IPython pane,
tab completion,
window,
conditionals,
applied to arrays,
curve fitting,
linear,
exponential function,
power law function,
power-law function,
with weighting,
nonlinear,
dictionary,
functions
arguments
**kwargs,
*args,
keyword,
positional,
variable number,
fast array processing,
looping over arrays,
NumPy,
positional arguments,
user defined,
input,
keyboard,
reading data from a file,
installing Python
Canopy,
Spyder,
IPython
Canopy IPython pane,
IPython Notebook,
magic commands,
magic functions,
navigation commands,
system shell commands,
tab completion,
list,
list comprehension,
logical operators,
loops,
for loops,
while loops,
magic functions
IPython,
masked arrays,
197

Introduction to Python for Science, Release 0.9.23
MatPlotLib
module,
MatPlotLib functions
ayhline, axhline,
figure,
legend,
plot,
savefig,
show,
tight_layout,
xlabel, ylabel,
module
importing,
MatPlotLib,
NumPy,
SciPy,
NumPy
array,
functions,
module,
output,
screen,
writing data to a file,
plots,
basic,
error bars,
interactive,
line and symbol specifiers,
log-log,
logarithmic axes,
masked arrays,
semi-log,
setting axis limits,
subplots,
programs,
Python
installing,
module,
random numbers,
reserved words,
roots of equations,
see
solving non-linear
equations
SciPy
module,
scripts,
solving non-linear equations,
Bisection method,
Brent method,
Newton-Raphson method,
Ridder method,
systems of nonlinear equations,
Spyder
installing Python,
string,
strings,
tab completion
Canopy,
IPython,
variable,
variable names,
198
Index