The Programming Historian
by W.J. Turkel, A. Crymble, A. MacEachern
Publisher: NiCHE 2010
Number of pages: 74
This book is a tutorial-style introduction to programming in Python for practicing historians (and other humanists). We assume that you're starting out with no prior programming experience and only a basic understanding of computers.
Download or read it online for free here:
by Fredrik Lundh - O'Reilly
A large collection of useful Python scripts, the best parts of comp.lang.python newsgroup messages, plus hundreds of new scripts. The text covers the standard library, the examples should work on most platforms and Python versions.
by Zed A. Shaw
This is a very beginner book for people who want to learn to code. If you can already code then the book will probably drive you insane. It's intended for people who have no coding chops to build up their skills before starting a more detailed book.
by Lennart Regebro
Porting to Python 3 doesn't have to be daunting. This book guides you through the process of porting your Python 2 code to Python 3. Using plenty of code examples is takes you cross the hurdles and shows you the new Python features.
by Kevin Sheppard
Python is a widely used general purpose programming language, which happens to be well suited to Econometrics and other more general purpose data analysis tasks. These notes provide an introduction to Python for a beginning programmer.