Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Python For Defenders

Python for Defenders: Code, Detect, Defend.

License/Copyright

Although this repository is open source and suggestions in the form of Pull Requests are welcome, this remains the intellectual property of The Taggart Institute, LLC, under the following license:

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

AI-Free Disclaimer

No part of this book was generated by a large language model such as ChatGPT, Claude, or Gemini. The prose and code you see here was created by humans, mostly by me, Michael Taggart, with help from open source software authors and contributors.

How to Use This Repo

This repository is intended for use in conjunction with the course Python For Defenders.

To use the repo,

git clone https://github.com/The-Taggart-Institute/python-for-defenders
cd python-for-defenders

Changelog

  • 2026-10-07: Complete rewrite and unification of parts 1 and 2
  • 2026-03-12:: Update dependencies
  • 2022-09-21:: Added Usage; fixed test for 1-2.