Illustrated Guide to Python 3 (Illustrated Guide to Python 3)
Minimum price
Suggested price

Illustrated Guide to Python 3

A complete walkthrough of beginning Python with unique illustrations showing how Python really works

About the Book

Learn Python Quickly 

Python is an incredible language. It is powerful and applicable in many areas. It is used for automation of simple or complex tasks, numerical processing, web development, interactive games and more. Whether you are a programmer coming to Python from another language, managing Python programmers or wanting to learn to program, it makes sense to cut to the chase and learn Python the right way. You could scour blogs, websites and much longer tomes if you have time. You will learn the hints and tips to be Pythonic quickly. 

Packed with Useful Hints and Tips 

You'll learn the best practices without wasting time searching or trying to force Python to be like other languages. I've collected all the gems I've gleaned over years of writing and teaching Python for you. A No Nonsense Guide to Mastering Basic Python Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs. What you will learn:Distilled best practices and tips

  • How interpreted languages work
  • Using basic types such as Strings, Integers, and Floats
  • Best practices for using the interpreter during development
  • The difference between mutable and immutable data
  • Sets, Lists, and Dictionaries, and when to use each
  • Gathering keyboard input
  • How to define a class
  • Looping constructs
  • Handling Exceptions in code
  • Slicing sequences
  • Creating modular code
  • Using libraries
  • Laying out code
  • Community prescribed conventions

About the Author

Matt Harrison
Matt Harrison

Matt Harrison has been using Python since 2000.

He runs MetaSnake, a Python and Data Science consultancy and corporate training shop.  In the past, he has worked across the domains

of search, build management and testing, business intelligence and


He has presented and taught tutorials at conferences such as Strata, SciPy, SCALE,

PyCON and OSCON as well as local user conferences. The structure and

content of this book is based off of first hand experience teaching

Python to many individuals.

He blogs at and occasionally tweets useful Python

related information at @__mharrison__.

Table of Contents

  • Introduction
  • Why Python?
  • Which Version of Python?
  • The Interpreter
  • Running Programs
  • Writing & Reading Data
  • Variables
  • More about Objects
  • Numbers
  • Strings
  • dir, help, and pdb
  • Strings & Methods
  • Comments, Booleans, and None
  • Conditionals and Whitespace
  • Containers: Lists, Tuples, and Sets
  • Iterations
  • Dictionaries
  • Functions
  • Indexing and Slicing
  • File Input and Output
  • Unicode
  • Classes
  • Subclassing a CLass
  • Exceptions
  • Importing Libraries
  • Libraries: Packages and Modules
  • A Complete Example
  • Onto Bigger and Better

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

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. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub