Python 101
Python 101
Free!
Minimum
$12.99
Suggested
Python 101

This book is 100% complete

Completed on 2016-10-27

About the Book

Learn how to program with Python 3 from beginning to end. Python 101 starts off with the fundamentals of Python and then builds onto what you've learned from there. The audience of this book is primarily people who have programmed in the past but want to learn Python. This book covers a fair amount of intermediate level material in addition to the beginner material.

To cover all this information, the book is split into five parts. 

Part One

The first part is the beginner section. In it you will learn all the basics of Python. From Python types (strings, lists, dictionaries) to conditional statements to loops. You will also learn about comprehensions, functions and classes and everything in between! 

Part Two

This section will be a curated tour of the Python Standard Library. The intent isn't to cover everything in it, but instead it is to show the reader that you can do a lot with Python right out of the box. We'll be covering the modules I find the most useful in day-to-day programming tasks, such as os, sys, logging, threads, and more.

Part Three

An all intermediate section covering lambda, decorators, properties, debugging, testing and profiling.

Part Four

Now things get really interesting! In part four, we will be learning how to install 3rd party libraries (i.e. packages) from the Python Package Index and other locations. We will cover easy_install and pip. This section will also be a series of tutorials where you will learn how to use the packages you download. For example, you will learn how to download a file, parse XML, use an Object Relational Mapper to work with a database, etc.

Part Five

The last section of the book will cover how to share your code with your friends and the world! You will learn how to package it up and share it on the Python Package Index (i.e. how to create an egg or wheel). You will also learn how to create executables using py2exe, bb_freeze, cx_freeze and PyInstaller. Finally you will learn how to create an installer using Inno Setup.

About the Author

Michael Driscoll
Michael Driscoll

Michael has been programming with Python since 2006. He is the author of the popular Python blog, The Mouse Vs. the Python. Michael has been a technical reviewer for Packt Publishing for several years.  

Here is a partial list of the Python books he has reviewed for them:

He also co-authored The Essential Core Python Cheat Sheet for DZone. You can get it here: http://refcardz.dzone.com/refcardz/core-python

Michael released his first book, Python 101, June 3rd, 2014.

Reader Testimonials

Nick Russo
Nick Russo

Network Consulting Engineer (CCDE/CCIEx2)

Python programming is quickly becoming a critical skill for network engineers and architects. As a former-coder-turned-networker, I found this book to be refreshingly easy to read with succinct examples. I follow along step-by-step with Mike to code his examples and see the outputs for myself, which builds confidence. This is among the best resources for network engineers who need to brush up on their Python skills or learn Python for the first time. I highly recommend this book!

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub