Projects and Exercises to Sharpen Your Python Skills
Al Sweigart

#Python
#Workbook
#CSV
#JSON
#XML
این ورکبوک (Workbook) در واقع نسخهی تعاملیتر از کتاب پرفروش Automate the Boring Stuff with Python اثر ال سوایگارت هست.
اگه اون کتاب مثل یه راهنمای مطالعه بود، این یکی تبدیلش کرده به یه تجربهی واقعی کدنویسی.
📘 این کتاب دقیقاً فصلبهفصل با “Automate” جلو میره، ولی هر مفهوم رو طوری به تمرین و پروژه تبدیل کرده که از «فهمیدن» برسی به «فهمیدن و انجام دادن». یعنی با حل تمرینها و نوشتن اسکریپتها، مفاهیم برات تبدیل به عادت ذهنی و مهارتی میشن.
هر فصل با تستهای کوتاه، تمرینهای هدفدار و پروژههای کوچیک جمعبندی میشه تا یادگیریت تثبیت بشه.
در آخر هر فصل، یه پروژهی کاربردی داری — مثل:
📂 تغییر نام گروهی فایلها
🌐 اسکرپ کردن سایتها
🗣 تبدیل متن به گفتار
📊 کار با فایلهای اکسل و ارسال ایمیل
🕹 و حتی پروژههای باحالتر مثل ساخت بازی یا تولید تصویر
یعنی فقط کارای خستهکننده رو خودکار نمیکنی؛ یه عالمه پروژهی خلاقانه هم داری که حس پیشرفت میده.
و نکتهی خوبش اینه که 👇
در انتهای کتاب، جواب و نمونهکد تمام تمرینها و پروژهها هست تا اگه جایی گیر کردی، راحتتر مسیرت رو پیدا کنی.
🧩 پرسشهای کوتاه و جایخالی برای تثبیت مفاهیم کلیدی
🧮 تمرینهای هدفدار برای تسلط روی متغیرها، حلقهها، توابع، Regular Expressionها و سازوکار زبان
💻 اسکریپتهای واقعی برای اجرا، تست و دیباگ
⚙️ پروژههای اتوماسیون کارهای روزمره مثل مرتبسازی فایلها، بکآپ گرفتن یا زمانبندی برنامهها
✅ نسخهی کامل و قابل اجرا از همهی پروژهها برای بررسی و یادگیری از روی کد واقعی
با فروش بیش از ۵۰۰ هزار نسخه در سراسر دنیا، کتاب اصلی Automate the Boring Stuff with Python به گزینهی شماره یک برای شروع پایتون تبدیل شده.
اما این ورکبوک کاری میکنه که از صرف مطالعه فراتر بری — با تمرین، بازخورد، و ساختار درست، یاد بگیری چطور مثل یه برنامهنویس فکر کنی و کد بزنی. 💪
ال سوایگارت یه دولوپر، عضو بنیاد پایتون (Python Software Foundation) و نویسندهی چند تا از معروفترین کتابهای آموزشی پایتونه.
از جمله:
همه توسط انتشارات No Starch Press چاپ شدن و تمرکزش روی یاد دادن مفاهیم برنامهنویسی با زبانی ساده و پروژهمحوره.
You've seen what Python can do. Now go deeper.
This workbook transforms Al Sweigart’s best-selling guide from a reading experience into a coding experience. Following Automate the Boring Stuff with Python chapter by chapter, this workbook will help you turn concepts into muscle memory through carefully designed exercises, projects, and real Python scripts.
Every concept from Automate is reinforced through carefully sequenced questions, exercises, and projects that help you think like a programmer and prove to yourself that you really get it.
At the end of each chapter, you’ll tackle miniprojects that bring everything together. Whether you’re renaming files, scraping websites, converting text to speech, modifying spreadsheets, or sending emails, you’ll build scripts that do real work. Fun projects like image generators and word games are in the mix too, not just boring stuff.
Every question and project come with a solution at the back of the book, so you’re never stuck.
Inside, you’ll find:
With over 500,000 copies sold worldwide, Automate the Boring Stuff with Python has become the go-to guide for learning Python. This workbook gives you the structure, feedback, and smart reinforcement to go from reading code to writing it with confidence.
Table of Contents
Chapter 1: Python Basics
Chapter 2: if-else and Flow Control
Chapter 3: Loops
Chapter 4: Functions
Chapter 5: Debugging
Chapter 6: Lists
Chapter 7: Dictionaries and Structuring Data
Chapter 8: Strings and Text Editing
Chapter 9: Text Pattern Matching with Regular Expressions
Chapter 10: Reading and Writing Files
Chapter 11: Organizing Files
Chapter 12: Designing and Deploying Command Line Programs
Chapter 13: Web Scraping
Chapter 14: Excel Spreadsheets
Chapter 15: Google Sheets
Chapter 16: SQLite Databases
Chapter 17: PDF and Word Documents
Chapter 18: CSV, JSON, and XML Files
Chapter 19: Keeping Time, Scheduling Tasks, and Launching Programs
Chapter 20: Sending Email, Texts, and Push Notifications
Chapter 21: Making Graphs and Manipulating Images
Chapter 22: Recognizing Text in Images
Chapter 23: Controlling the Keyboard and Mouse
Chapter 24: Text-to-Speech and Speech Recognition Engines
About the Author
Al Sweigart is a software developer, fellow of the Python Software Foundation, and author of several popular programming books including Automate the Boring Stuff with Python, The Big Book of Small Python Projects, Beyond the Basic Stuff with Python, Coding with Minecraft, and The Recursive Book of Recursion (all from No Starch Press).









