Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

A bunch of very simple code snippets to write more elegant and understandable python code. 


Timestamps:
0:00 - Intro  
0:27 - match case  
3:24 - ternary operator
5:44 - chain comparisons
7:15 - clamping values
11:10 - eval + exec
15:20 - dict.get()
17:14 - list flattening with sum()  

Pastebin: https://pastebin.com/2gYZJXfQ

Files

Previews only

seven_p

Watch "seven_p" on Streamable.

Comments

No comments found for this post.