Small build project applying a specific Python concept.
Sep 24, 2025
•
6 min read
A mini case study using patient data and one powerful Pandas function - groupby()
Sep 17, 2025
•
7 min read
From line charts to pie charts, here's 6 plots you'll likely use in 2025 and beyond for your analysis.
Sep 10, 2025
•
7 min read
Master try/except blocks, avoid common pitfalls, and implement proper error handling in your Python applications
Sep 3, 2025
•
6 min read
A Deep Dive into Python’s Most Essential Building Block
Aug 27, 2025
•
7 min read
Understanding Command-Line Arguments in Python
Aug 23, 2025
•
7 min read
Using the go-to framework for data manipulation
Aug 20, 2025
•
7 min read
Use PyYAML + Jinja templating to simplify and speed up your configuration workflow
Aug 16, 2025
•
8 min read
This is the reason why you should use UTC for anything time-related.
Aug 13, 2025
•
7 min read
Learn how to connect Python to OpenAI's API and build smart workflows in minutes.
Aug 9, 2025
•
8 min read
Python Context Managers Tutorial: Prevent Resource Leaks and Database Connection Errors
Aug 6, 2025
•
6 min read
See which major tech players are using Python's top web frameworks: Django and FastAPI
Jul 30, 2025
•
8 min read
The GIL isn't a bottleneck anymore - threading is truly going threaded.
Jul 23, 2025
•
7 min read
New string formatter that brings security and structure to dynamic string composition.
Jul 19, 2025
•
7 min read
See how to store your secrets both locally and on cloud platforms like AWS, GCP, and Azure.
Jul 16, 2025
•
7 min read
Learn when to use Generative and Discriminative AI with practical Python examples.
Jul 9, 2025
•
7 min read
A new vectorized approach to slicing string arrays in NumPy, shown to be up to 25x faster!
Jul 2, 2025
•
6 min read
Leverage the subprocess module, but know there's a difference between subprocess.run() and subprocess.Popen()
Jun 25, 2025
•
5 min read
Caching your program's output can increase significantly. Using Python's functools.lru_cache decorator makes creating caches easy.
Jun 18, 2025
•
6 min read
We all forget to format, lint, and make sure print statements are removed.
Jun 11, 2025
•
7 min read
This feature, used in Python 3.10+, is an alternative to if/elif/else blocks. See how case and match statements are used.
Jun 4, 2025
•
5 min read
There's a major difference between for and while loops, and this explanation hits the key difference.
Mar 12, 2025
•
6 min read
Here's why you should be using type hinting for your python code - it's nothing but beneficial!
Feb 19, 2025
•
5 min read
A beginner-friendly guide to why some variables change behind your back (and others don't)
Feb 12, 2025
•
5 min read
Python relies on you to be trustworthy, but there's more to it.
Feb 5, 2025
•
5 min read
Tools
Tutorials
Templates
Resources
Newsletter
Blog
Latest Posts
Experts
Creators
Most Popular
Resources
Support
Recommendations
Software Engineering Books
© 2025 Python Snacks.