Python Snacks logo
Python Snacks
AdvertiseContact
Subscribe
  • Python Snacks
  • Topics
  • functions

functions

Function creation, args/kwargs, lambda, scope.

best-practicescomparisongeneratorscareertype hintspythonic thinkingbeginnerdecoratorsreferencedocumentationmetaprogrammingdata analysisfunctionscheat sheetdata structuresartificial intelligencetool-reviewadvancedwebsecurityOne-Offssnippettoolingworkflowstandard librarybreakdownpackagechecklisttemplateintermediateclicase-studyquick winpackagingasynccontrol flowgotchasoopdeep diveperformance
beginnerbeginner
+2+2
Why Python doesn't have private methods
Feb 05, 2025

Why Python doesn't have private methods

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

Brandon Molyneaux
Brandon Molyneaux
best-practicesbest-practices
+2+2
Python Lambda Functions: The Basics, Syntax, and Examples
Sep 04, 2024

Python Lambda Functions: The Basics, Syntax, and Examples

See how you can leverage Python’s lambda functions for concise, efficient coding with practical examples.

Brandon Molyneaux
Brandon Molyneaux
comparisoncomparison
+2+2
Functions vs Methods in Python - What's the Difference?
Feb 29, 2024

Functions vs Methods in Python - What's the Difference?

See how Python's functions and methods differ with this simple example

Brandon Molyneaux
Brandon Molyneaux
best-practicesbest-practices
+2+2
Letting Python Do the Heavy Lifting: A Dive into *args and **kwargs
Dec 06, 2023

Letting Python Do the Heavy Lifting: A Dive into *args and **kwargs

Want more fexibility in your code? Leveraging *args and **kwargs may be the key.

Brandon Molyneaux
Brandon Molyneaux
Become a better software engineer with Python.

Python Snacks

Become a better software engineer with Python.

Home

Posts

Authors

Account

Upgrade

Advertise

Advertise

© 2025 Python Snacks.

Privacy policy

Terms of use

Powered by beehiiv