>>>

Free web edition

Python from Zero

Install to your first real script

Install Python and get to a real, working script: values and types, variables, decisions, loops, lists and dictionaries, functions, modules, files, and reading an error when something breaks. One short path, standard library only, every example run when the book was built.

Contents

  1. Preface
  2. Introduction
  3. 1. Values and Types
  4. 2. Variables and Input
  5. 3. Making Decisions
  6. 4. Repeating Work
  7. 5. Lists
  8. 6. Dictionaries
  9. 7. Functions
  10. 8. Modules and the Standard Library
  11. 9. Files
  12. 10. When Things Break
  13. 11. Putting It Together
  14. Where to Go Next
  15. About the Author

Why the PDF?

The web edition is the whole book, free. The paid PDF is the same words in a form you can keep: offline, a clickable table of contents and outline, easy to read on a tablet or e-reader, and it pays for the next one.

Get Python from Zero — $9