Chapter 2

Computing using Python Modules

2.1 Introduction

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 etc. Since this book is focused on creating scientific applications, we limit our focus to Python modules that allow computation such as scipy, numpy, matplotlib, Python Imaging Library (PIL) and scikits. We discuss the relevance of each of these modules and explain their use with examples. We also discuss creation of new Python modules.

2.2 Python Modules

A number of scientific Python modules have been created ...

Get Image Processing and Acquisition using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.