1. Cover
  2. Buy PDF/EPUB versions
  3. 1. Preface
  4. 2. Introduction
  5. 3. Numeric data types
  6. 4. Strings and user input
  7. 5. Defining functions
  8. 6. Control structures
  9. 7. Importing and creating modules
  10. 8. Installing modules and Virtual environments
  11. 9. Exception handling
  12. 10. Debugging
  13. 11. Testing
  14. 12. Tuple and Sequence operations
  15. 13. List
  16. 14. Mutability
  17. 15. Dict
  18. 16. Set
  19. 17. Text processing
  20. 18. Comprehensions and Generator expressions
  21. 19. Dealing with files
  22. 20. Executing external commands
  23. 21. Command line arguments


  24.    Source code
  25.    My Blog
  26.    My Books
  27.    learnbyexample weekly
  28.    Twitter

100 Page Python Intro

    Buy PDF/EPUB versions

    Purchase links

    You can buy the pdf/epub versions of the book using these links:

    • https://leanpub.com/100pagepythonintro
    • https://learnbyexample.gumroad.com/l/100pagepythonintro

    Bundles

    You can also get the book as part of these bundles:

    • All books bundle
      • https://leanpub.com/b/learnbyexample-all-books
      • https://learnbyexample.gumroad.com/l/all-books
    • Learn by example Python bundle
      • https://leanpub.com/b/python-bundle
      • https://learnbyexample.gumroad.com/l/python-bundle

    Testimonials

    It's very thorough, written with care, and presented in a way that makes sense. Even as an intermediate Python programmer, I found use in this book.

    — feedback by Andrew Healey on an early draft of "100 Page Python Intro" mentioned in this Hacker News thread

    Book list

    Here's a list of programming books I've written:

    • Understanding Python re(gex)?
    • Understanding JavaScript RegExp
    • Understanding Ruby Regexp
    • CLI text processing with GNU grep and ripgrep
    • CLI text processing with GNU sed
    • CLI text processing with GNU awk
    • Ruby One-Liners Guide
    • Perl One-Liners Guide
    • 100 Page Python Intro
    • Practice Python Projects
    • CLI text processing with GNU Coreutils
    • Vim Reference Guide
    • Linux Command Line Computing