Email the Author
You can use this page to email Sundeep Agarwal about 100 Page Python Intro.
About the Book
Year End Sale 🎉
To celebrate the new release of "100 Page Python Intro" and 2024 coming to an end, you can avail the following amazing offers:
- All 13 Books Bundle — $15 (normal price $32), learn Regular Expressions, Linux CLI tools, Python, Vim and more!
- Awesome Regex Bundle — $10 (normal price $20), Python, Ruby, JavaScript, BRE/ERE, PCRE and Vim regular expressions
- 100 Page Python Intro — FREE, introductory Python guide for those already familiar with programming concepts
About
This book is a short, introductory guide for the Python programming language. This book is well suited:
- As a reference material for Python beginner workshops
- If you have prior experience with another programming language
- If you want a complement resource after reading a Python basics book, watching a video course, etc
There are several exercises provided throughout the book, which will help test your understanding of Python syntax and logical skills.
Prerequisites
You should be already familiar with basic programming concepts. If you are new to programming, check out my comprehensive curated list on Python to get started.
You are also expected to get comfortable with reading manuals, searching online, visiting external links provided for further reading, tinkering with the illustrated examples, asking for help when you are stuck and so on. In other words, be proactive and curious instead of just consuming the content passively.
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 mentioned in this Hacker News thread
GitHub repo
Visit https://github.com/learnbyexample/100_page_python_intro for markdown source, program files and other details related to the book.
Interactive exercises
I made an interactive TUI app for some of the exercises from this book.
Chapters
- Preface
- Introduction
- Numeric data types
- Strings and user input
- Defining functions
- Control structures
- Importing and creating modules
- Installing modules and Virtual environments
- Exception handling
- Debugging
- Testing
- Tuple and Sequence operations
- List
- Mutability
- Dict
- Set
- Text processing
- Comprehensions and Generator expressions
- Dealing with files
- Executing external commands
- Command line arguments
Feedback and Errata
I would highly appreciate it if you'd let me know how you felt about this ebook. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.
You can reach me via:
- Issue Manager: https://github.com/learnbyexample/100_page_python_intro/issues
- E-mail: learnbyexample.net@gmail.com
- Twitter: https://twitter.com/learn_byexample
About the Author
Sundeep Agarwal is a lazy being who prefers to work just enough to support his modest lifestyle. He accumulated vast wealth working as a Design Engineer at Analog Devices and retired from the corporate world at the ripe age of twenty-eight. Unfortunately, he squandered his savings within a few years and had to scramble trying to earn a living. Against all odds, selling programming ebooks saved his lazy self from having to look for a job again. He can now afford all the fantasy ebooks he wants to read and spends unhealthy amount of time browsing the internet.
When the creative muse strikes, he can be found working on yet another programming ebook (which invariably ends up having at least one example with regular expressions). Researching materials for his ebooks and everyday social media usage drowned his bookmarks, so he maintains curated resource lists for sanity sake. He is thankful for free learning resources and open source tools. His own contributions can be found at https://github.com/learnbyexample.