These are my personal study notes from learning Python and using it to solve practical programming problems. They collect the language concepts, standard-library patterns, and development habits I want to revisit while studying and working.
The notes target Python 3.14 and use examples that can be run with the standard library unless a chapter says otherwise. The chapters build from values and control flow toward modules, testing, concurrency, and a small command-line project.
- Running Python and working with environments
- Names, values, and built-in types
- Strings and sequence types
- Dictionaries, sets, and comprehensions
- Conditions, loops, and control flow
- Functions, arguments, and scope
- Modules, imports, and packages
- Exceptions and error handling
- Files, paths, JSON, and CSV
- Classes, dataclasses, and composition
- Iterators and generators
- Useful standard-library modules
- Type hints and protocols
- Testing, debugging, and logging
- Threads, processes, and asyncio
- Capstone: command-line task tracker
I keep each chapter focused on a small group of related ideas. Examples show the input, the Python construct being used, and the result or behavior to expect. The capstone combines several concepts in one small program so the language features have a practical context.
The last chapters collect the examples and answered review questions for quick revision. I update these notes as I test the code and learn better ways to use Python.
- Python 3.14 documentation
- Python language reference
- Python standard library
- Python typing documentation
- Python Packaging User Guide
- Portfolio: https://www.ashishranjan.net
- GitHub: https://github.com/a2rp
- CodePen: https://codepen.io/ash1198
- LinkedIn: https://www.linkedin.com/in/aashishranjan
- Facebook: https://www.facebook.com/theash.ashish/
- YouTube: https://www.youtube.com/@ashishranjan-ashz?sub_confirmation=1
- Email: mailto:ash.ranjan09@gmail.com
- Support: https://a2rp-donation-page.netlify.app/
- Buy Me a Coffee: https://buymeacoffee.com/ashishranjan
- Patreon: https://www.patreon.com/ashishranjan