**Automate the Boring Stuff with Python**

A practical, beginner-friendly introduction to Python focused on automating everyday computer tasks. Covers core programming basics while walking through real projects such as file and folder automation, web scraping, working with Excel, PDF, and CSV data, sending emails, and controlling the keyboard and mouse—ideal for readers who want useful scripts quickly rather than pure theory.

This page is free — overview and chapter list only.
The complete book body is sold separately.

Full book: $2.99 USDC via x402 ·
Per chapter: $0.25 USDC

Buy / open complete book (HTML)
· Complete book Markdown (.md)

Agents: start with free /library/discovery.json, sample free teaser chapters,
then pay for individual chapters or the complete book URL above.
Append .md to any content URL for Markdown with YAML front matter.

Chapters

  1. Whom Is This Book For (Free teaser)
  2. What Is Programming ($0.25)
  3. Entering Expressions Into The Interactive Shell ($0.25)
  4. Variable Names ($0.25)
  5. The Str Int And Float Functions ($0.25)
  6. Boolean Values ($0.25)
  7. Program Execution ($0.25)
  8. Practice Questions ($0.25)
  9. Return Values And Return Statements ($0.25)
  10. Local And Global Scope ($0.25)
  11. A Short Program Guess The Number ($0.25)
  12. The List Data Type ($0.25)
  13. Working With Lists ($0.25)
  14. Methods ($0.25)
  15. List Like Types Strings And Tuples ($0.25)
  16. The Dictionary Data Type ($0.25)
  17. Using Data Structures To Model Real World Things ($0.25)
  18. Working With Strings ($0.25)
  19. Useful String Methods ($0.25)
  20. Project Password Locker ($0.25)
  21. Finding Patterns Of Text With Regular Expressions ($0.25)
  22. More Pattern Matching With Regular Expressions ($0.25)
  23. The Wildcard Character ($0.25)
  24. Project Phone Number And Email Address Extractor ($0.25)
  25. Files And File Paths ($0.25)
  26. Opening Files With The Open Function ($0.25)
  27. Step 4 Write Content To The Quiz And Answer Key Files ($0.25)
  28. Step 3 List Keywords And Load A Keywords Content ($0.25)
  29. The Shutil Module ($0.25)
  30. Compressing Files With The Zipfile Module ($0.25)
  31. Step 1 Create A Regex For American Style Dates ($0.25)
  32. Step 1 Figure Out The Zip Files Name ($0.25)
  33. Getting The Traceback As A String ($0.25)
  34. Using The Logging Module ($0.25)
  35. Logging To A File ($0.25)
  36. Breakpoints ($0.25)
  37. Project Mapitpy With The Webbrowser Module ($0.25)
  38. Downloading Files From The Web With The Requests Module ($0.25)
  39. Html ($0.25)
  40. Parsing Html With The Beautifulsoup Module ($0.25)
  41. Project Im Feeling Lucky Google Search ($0.25)
  42. Project Downloading All Xkcd Comics ($0.25)
  43. Controlling The Browser With The Selenium Module ($0.25)
  44. Sending Special Keys ($0.25)
  45. Reading Excel Documents ($0.25)
  46. Project Reading Data From A Spreadsheet ($0.25)
  47. Project Updating A Spreadsheet ($0.25)
  48. Adjusting Rows And Columns ($0.25)
  49. Practice Projects ($0.25)
  50. Pdf Documents ($0.25)
  51. Project Combining Select Pages From Many Pdfs ($0.25)
  52. Word Documents ($0.25)
  53. Header 2 ($0.25)
  54. The Csv Module ($0.25)
  55. Project Removing The Header From Csv Files ($0.25)
  56. Project Fetching Current Weather Data ($0.25)
  57. The Time Module ($0.25)
  58. Project Super Stopwatch ($0.25)
  59. The Datetime Module ($0.25)
  60. Multithreading ($0.25)
  61. Project Multithreaded Xkcd Downloader ($0.25)
  62. Launching Other Programs From Python ($0.25)
  63. Project Simple Countdown Program ($0.25)
  64. Sending Email ($0.25)
  65. Retrieving And Deleting Emails With Imap ($0.25)
  66. Project Sending Member Dues Reminder Emails ($0.25)
  67. Sending Text Messages ($0.25)
  68. Practice Projects 2 ($0.25)
  69. Computer Image Fundamentals ($0.25)
  70. Manipulating Images With Pillow ($0.25)
  71. Project Adding A Logo ($0.25)
  72. Drawing On Images ($0.25)
  73. Practice Projects 3 ($0.25)
  74. Controlling Mouse Movement ($0.25)
  75. Step 3 Get And Print The Mouse Coordinates ($0.25)
  76. Analyzing The Screenshot ($0.25)
  77. Key Names ($0.25)
  78. Hotkey Combinations ($0.25)
  79. Step 5 Submit The Form And Wait ($0.25)
  80. Running Python Programs With Assertions Disabled ($0.25)