Book Image

Python for Secret Agents

By : Steven F. Lott, Steven F. Lott
Book Image

Python for Secret Agents

By: Steven F. Lott, Steven F. Lott

Overview of this book

Table of Contents (12 chapters)
Python for Secret Agents
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


We saw how we can easily implement sophisticated statistical analyses as short pieces of Python programming. We applied basic statistical insights to all our intelligence gathering.

We learned to design Python modules. This allows us to extend the Python standard library with our own more specialized modules. We can now easily package reusable software in modules for our own purposes as well as for distribution to our network of agents.

In addition to designing modules, we also saw how to write tests to confirm that our software really works. Software can't be trusted unless there are formal unit tests to confirm that things are behaving correctly. We saw the essential ingredients of the Python language, the standard library, and the ecosystem of related projects and tools. The Python language is quite simple: it only has about 22 statements, and we saw examples of almost all of them.

At this point, each secret agent's areas of interest and expertise will start to diverge. There are...