Logo
Python Snacks
Logo
Articles
Advertise
Contact
Books
Sign Up

beginner

Covers foundational topics or first-time exposures, written for readers new to Python or programming. Focuses on clarity and essential concepts without assuming prior experience.


A Guide to Stacks and Queues in Python

A Guide to Stacks and Queues in Python

Stacks and queues are essential data structures to know, especially if you're wanting to get into FAANG/MANGO companies.

Dec 3, 2025

•

9 min read

After 10 Years of Using Python, Here's What I've Learned

After 10 Years of Using Python, Here's What I've Learned

I wish I would've told my younger self these things as a "heads up, here's what's coming".

Nov 19, 2025

•

9 min read

The Basics of Python Packaging

The Basics of Python Packaging

Leveraging Python packaging to make your code reusable and accessible

Oct 8, 2025

•

7 min read

Python Generators - The One Tool to Add to Your Toolbelt

Python Generators - The One Tool to Add to Your Toolbelt

Sep 24, 2025

•

7 min read

Leveraging Pandas for Solving Business Problems

Leveraging Pandas for Solving Business Problems

A mini case study using patient data and one powerful Pandas function - groupby()

Sep 17, 2025

•

7 min read

How to Handle Python Exceptions: Stop Errors from Breaking Your Code

How to Handle Python Exceptions: Stop Errors from Breaking Your Code

Master try/except blocks, avoid common pitfalls, and implement proper error handling in your Python applications

Sep 3, 2025

•

6 min read

Master Python Functions: From Basics to Power Features

Master Python Functions: From Basics to Power Features

A Deep Dive into Python’s Most Essential Building Block

Aug 27, 2025

•

8 min read

Introduction to Python's argparse library

Introduction to Python's argparse library

Understanding Command-Line Arguments in Python

Aug 23, 2025

•

7 min read

Mastering timezones in Python with UTC

Mastering timezones in Python with UTC

This is the reason why you should use UTC for anything time-related.

Aug 13, 2025

•

7 min read

Securing your API keys and reading them using Python

Securing your API keys and reading them using Python

See how to store your secrets both locally and on cloud platforms like AWS, GCP, and Azure.

Jul 16, 2025

•

7 min read

Python's match/case Statements: The Equivalent of Switch Statements

Python's match/case Statements: The Equivalent of Switch Statements

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

The Simplest Way to Understand The Difference Between For Loops and While Loops

The Simplest Way to Understand The Difference Between For Loops and While Loops

There's a major difference between for and while loops, and this explanation hits the key difference.

Mar 12, 2025

•

6 min read

A Cheat Sheet for Type Hinting in Python

A Cheat Sheet for Type Hinting in Python

Here's why you should be using type hinting for your python code - it's nothing but beneficial!

Feb 19, 2025

•

5 min read

The differences between Mutable and Immutable data types in Python

The differences between Mutable and Immutable data types in Python

A beginner-friendly guide to why some variables change behind your back (and others don't)

Feb 12, 2025

•

5 min read

Why Python doesn't have private methods

Why Python doesn't have private methods

Python relies on you to be trustworthy, but there's more to it.

Feb 5, 2025

•

5 min read

Python Won't Make You a Good Software Engineer

Python Won't Make You a Good Software Engineer

Here's 6 things that will make you a good engineer, no matter what languages you use.

Jan 29, 2025

•

5 min read

Python except: The Danger of Overgeneralizing Exceptions

Python except: The Danger of Overgeneralizing Exceptions

How catching every exception with ‘except’ in Python can break your code and hide critical errors.

Jan 22, 2025

•

6 min read

Paths in Python: Comparing os.path and pathlib modules

Paths in Python: Comparing os.path and pathlib modules

A quick guide to simplifying file path management in Python

Jan 1, 2025

•

6 min read

3 Things I Wish I Knew Starting Out My Software Engineer Career

3 Things I Wish I Knew Starting Out My Software Engineer Career

What professional experience taught me about not coding.

Dec 26, 2024

•

9 min read

Type Hinting in Python: What It Is and How to Use It Effectively

Type Hinting in Python: What It Is and How to Use It Effectively

A Beginner’s Guide to Writing Clearer, More Reliable Python Code with Type Hints

Nov 13, 2024

•

4 min read

Python = vs ==: Understanding the Key Difference Between Assignment and Equality Operators

Python = vs ==: Understanding the Key Difference Between Assignment and Equality Operators

Learn when to use = for assignment and == for comparison to avoid common Python mistakes

Nov 6, 2024

•

5 min read

The 3 Step Process on Writing List Comprehensions Easily

The 3 Step Process on Writing List Comprehensions Easily

See how you can convert Python for loops into list comprehensions in 3 simple steps.

Oct 2, 2024

•

7 min read

Writing Faster Code: 7 Simple Ways to Improve Your Python Loops

Writing Faster Code: 7 Simple Ways to Improve Your Python Loops

Practical tips to speed up your Python code and make your loops more efficient.

Sep 25, 2024

•

9 min read

Understanding Python's finally statement

Understanding Python's finally statement

This is a control flow tool you should've learned yesterday.

Aug 28, 2024

•

4 min read

A quick tutorial for the for/else construct in Python

A quick tutorial for the for/else construct in Python

Here's how you're able to use this and why sometimes it's more adventageous

Aug 22, 2024

•

5 min read

Load more
background

Become a better software engineer today.

Newsletter

Login

Upgrade to Pro

Sample Issue

Advertise

Tools

Tutorials

Templates

Resources

Newsletter

Blog

Latest Posts

Experts

Creators

Most Popular

Resources

Support

Recommendations

Software Engineering Books

© 2025 Python Snacks.

Privacy policy

Terms of use

Powered by beehiiv