If you're coming from one of my Python tutorials, you'll find the code here. This repo is quite useless otherwise. :)
| Topic | Link to Code | Link to Tutorial |
|---|---|---|
| Custom Python Decorator Patterns | Code | Custom Python Decorator Patterns Worth Copy-Pasting Forever |
| Makefiles for Python Projects | Code | The Case for Makefiles in Python Projects (And How to Get Started) |
| Python Math & Stats One-liners | Code | 10 Python Math & Statistical Analysis One-Liners |
| Python JSON One-liners | Code | 10 Python One-Liners for JSON Parsing and Processing |
| Optimize Python Code | Code | How to Optimize Your Python Code Even If You’re a Beginner |
| functools & itertools | Code | Python functools & itertools: 7 Super Handy Tools for Smarter Code |
| Clean Python Crash Course | Code | Stop Writing Messy Python: A Clean Code Crash Course |
| Writing Readable Python Functions | Code | The Art of Writing Readable Python Functions |
| Efficient Python (for Beginners) | Code | How to Write Efficient Python Code Even If You’re a Beginner |
| Python Data Structures | Code | Python Data Structures Every Programmer Should Know |
| Commonly Misused Python Functions | Code | 7 Python Functions You’re Probably Misusing (And Don’t Realize It) |
| Intro to Golang | Code | A Gentle Introduction to Go for Python Programmers |
| Big O Complexity | Code | Big O Complexity Cheat Sheet for Coding Interviews |
| Python Tips (for Data Efficiency and Speed) | Code | 5 Python Tips for Data Efficiency and Speed |
| Automated Data Cleaning Pipeline | Code | Creating Automated Data Cleaning Pipelines Using Python and Pandas |
| Automate Data Cleaning in 5 Steps | Code | Tutorial |
| Advanced Error Handling | Code | Tutorial |
any() and all() Functions |
Code | Tutorial |
| Python Lists 101 | Code | Tutorial |
| Convert Bytes to String in Python | Code | Tutorial |
| RegEx for Data Cleaning | Code | Tutorial |
| Data Cleaning One-Liners | Code | Tutorial |
| Unit Testing (Python Functions) | Code | Tutorial |
| Unit Testing (Instance Methods) | Code | Tutorial |
| Tips for Handling Large Datasets | Code | Tutorial |
| Caching in Python | Code | Tutorial |
| Creating Custom Exceptions | Code | Tutorial |
| Writing Better Python Functions | Code | Tutorial |
| Function Arguments | Code | Tutorial |
| Partial Functions | Code | Tutorial |
| Useful Python Functions | Code | Tutorial |
| For-Else Loop Construct | Code | Tutorial |
| SQLite Tutorial | Code | Tutorial |
| Psycopg2 Tutorial | Code | Tutorial |
| Handling Key Errors | Code | Tutorial |
| Common Python Gotchas! | Code | Tutorial |
| Python Oddities | Code | Tutorial |
| Custom Context Managers in Python | Code | Tutorial |
| Convert Python Dict to JSON | Code | Tutorial |
| Building Enumerations in Python | Code | Tutorial |
Understanding if __name__=='__main__' |
Code | Tutorial |
Natural Sorting (Install natsort with pip) |
Code | Tutorial |
| Pydantic Basics | Code | Tutorial |
| Pathlib Tutorial | Code | Tutorial |
| Pathlib File Management | Code | Tutorial |
| Walrus Operator | Code | Tutorial |
| Tracing Memory Allocation | Code | Tutorial |
| Merge Python Dicts | Code | Tutorial |
| Unit Testing w/ Pytest | Code | Tutorial |
| String Manipulation One-Liners | Code | Tutorial |
| Useful Decorators | Code | Tutorial |
| Useless Python Functions | Code | 7 “Useless” Python Standard Library Functions You Should Know |
| Timedelta (work w/ time intervals) | Code | How to Use timedelta Objects in Python to Work with Dates |
| Logging in Python | Code | Logging in Python: A Developer’s Guide |
