Chapter 2

Computing using Python Modules

2.1Introduction

We discussed the basics of Python in the previous chapter. We learned that Python comes with various built-in batteries or modules. These batteries or modules perform various specialized operations. The modules can be used to perform computation, database management, web server functions etc. Since this book is focused on creating scientific applications, we limit our focus to Python modules that allow computation such as the scipy, numpy, matplotlib, Python Imaging Library (PIL), and scikit packages. We discuss the relevance of each of these modules and explain their use with examples. We also discuss creation of new Python modules.

2.2Python Modules

A number of scientific Python ...

Get Image Processing and Acquisition using Python, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.