Master Python. Make more money. Create a fulfilling career. Learn from the best.

Joined June 2021
Photos and videos
Python tips #1 . If you ever wanted to modify a dictionary to do something if a key doesn't exist, the __missing__ magic method of a class has you covered. This will create an array if you access a missing key in the dictionary. #Python #Pythontips

Python Mastery retweeted
Python trick #1: . Python for loops have a little known ability. The else statement will be executed if no breakpoints are hit in the for loop. This is useful to remove the need for a variable . #Python #LittleKnownPython #PythonTricks

1
1
Python Mastery retweeted
After almost 10 years being a developer, I still struggle with imposter syndrome. I don't think it ever quite goes away, but the good news is that it indicates that you still have lots to learn from your teammates! #ProgrammingLife #programming #developerlife
1
Python Mastery retweeted
Python tip: You can encode file content as base64 encoded string using pathlib and base64 👇
3
20
69
Python Mastery retweeted
A lot of people still: Should I use Python 2 or 3? Me: THREEEEEEEEEEEEEEEEEEEEEEEEE #Python #programminghumor
4
3
Python Mastery retweeted
One line to reverse them all (all of the lists, that is) #pythonprogramming #Python #pythonlearning
1
5
5
Python Mastery retweeted
The way iterating was meant to be played! #Python #pythonprogramming
4
1
Python Mastery retweeted
Variable = a jar Value = a thing you can put in the jar Type = the type of thing you put in the jar Program = a recipe using stuff in all of your jars Put some beans in the jar so you can use them later in your chili recipe 😆 #programming #Coding
4
4