Python deep dive every Monday 🐍🚀 -> https://mathspp.com/insider
Short daily drop of Python knowledge 🐍💧 -> https://mathspp.com/drops
Today I got all of it!
First, my computer froze and I couldn't even share my screen.
Then, at some point my internet connection went POOF and I dropped off the call... 🤦
Hopefully now I'm good again for a dozen more talks.
Today I got all of it!
First, my computer froze and I couldn't even share my screen.
Then, at some point my internet connection went POOF and I dropped off the call... 🤦
Hopefully now I'm good again for a dozen more talks.
#Python #Berlin
discuss.python.org/t/pep-814-ad...
discuss.python.org/t/pep-814-ad...
Yup, I already knew about True/False! I wonder how much crazy code was written thanks to that.
Yup, I already knew about True/False! I wonder how much crazy code was written thanks to that.
But it's more fun to see if you can name them :D
But it's more fun to see if you can name them :D
How many are there, and what are they?
It's nice that the number is so small that you can actually probably remember all of them fairly easily.
How many are there, and what are they?
But I never know if it's
def clamp(v):
return min(max(v, low), high)
or
def clamp(v):
return min(max(v, high), low)
Always need to stop and think about it for a minute.
But I never know if it's
def clamp(v):
return min(max(v, low), high)
or
def clamp(v):
return min(max(v, high), low)
Always need to stop and think about it for a minute.
I got
- Hammerhead
- Great White
- Tiger
- Whale
- Pyjama
- Reef
- Giant
I got
- Hammerhead
- Great White
- Tiger
- Whale
- Pyjama
- Reef
- Giant
135 animals listed
𓃴🦋🦬🦁🐆🐯🦋🐯🐻🐻❄️🐻🐰🦧🦍𓃷𓃱🐘𓃘🐎🦓🐕🙀🐁🐹🐀🐊🦫👩❤️💋👩🦨🦖🐼🦘🐑🐐🐽🐗🦎𓆈🐍🐍🐍🐍𓆏🐸🦌𓅦🐧🦈🦈🦈🦈🐟🐡𓇼🐳🦭🦐🐙🦑🦀🦞🪱🐛🐛🪰🦟🐛🐛🐜🕷🕷🐛🐛🐛🪳🐛🐌🦐🐟🐟𓆣🦅𓅃🐦🐦🦜🐦𓅨🦢🦩🕊️🐦🐦⬛🐦⬛
Ok, I gotta go back to work 🤣
135 animals listed
𓃴🦋🦬🦁🐆🐯🦋🐯🐻🐻❄️🐻🐰🦧🦍𓃷𓃱🐘𓃘🐎🦓🐕🙀🐁🐹🐀🐊🦫👩❤️💋👩🦨🦖🐼🦘🐑🐐🐽🐗🦎𓆈🐍🐍🐍🐍𓆏🐸🦌𓅦🐧🦈🦈🦈🦈🐟🐡𓇼🐳🦭🦐🐙🦑🦀🦞🪱🐛🐛🪰🦟🐛🐛🐜🕷🕷🐛🐛🐛🪳🐛🐌🦐🐟🐟𓆣🦅𓅃🐦🐦🦜🐦𓅨🦢🦩🕊️🐦🐦⬛🐦⬛
Ok, I gotta go back to work 🤣
Also, just remembered about a bunch of mammals...
I guess I'll try again 🤣
Also, just remembered about a bunch of mammals...
I guess I'll try again 🤣
rose.systems/animalist
116 animals listed
🦫🐎🐱🐕🦺🐆🦁🐅🦋🐯🐖🐮🫏🐐🐏🐔🐰🐹🐁🐀🐛🐌🐛🐛🦟🪰🐛🐛🐛🕷🕷🦋🐦⬛🐜🐛🪳🐛🪱🐦⬛🐦🕊️🐧𓅦🦘🐼🐻🐻🐻❄️🐦🦜𓅃🐦🦅🐦🐙🦑🦈🦈🦈🐟🐳🦐🦀🦞𓇼🐡🪲🪸🐍🦓🐍🐟🦇🐬🦭🐸𓆏🦍𓃻🦧👯🐍🐍🐌
rose.systems/animalist
116 animals listed
🦫🐎🐱🐕🦺🐆🦁🐅🦋🐯🐖🐮🫏🐐🐏🐔🐰🐹🐁🐀🐛🐌🐛🐛🦟🪰🐛🐛🐛🕷🕷🦋🐦⬛🐜🐛🪳🐛🪱🐦⬛🐦🕊️🐧𓅦🦘🐼🐻🐻🐻❄️🐦🦜𓅃🐦🦅🐦🐙🦑🦈🦈🦈🐟🐳🦐🦀🦞𓇼🐡🪲🪸🐍🦓🐍🐟🦇🐬🦭🐸𓆏🦍𓃻🦧👯🐍🐍🐌
76 animals listed
🦮🙀🐴🦎𓆈🐜🪲🐛🪳🐛🐛🐛🦟🪰🪱🐛🕷🕷🐍🐍🐍🐳🦈🦈🦈🐟🦈🦀🦞🥷🐇🐖🐑🐐𓃬🐆𓃻🦍🐻🐻❄️🐻🫏🐭🐀🐹🐅🦋🐧𓅦🦅🐦🐦🦜🐦🐦𓇼🐌
Dang it, I knew at least a couple more in Portuguese but couldn't remember the translations :D
76 animals listed
🦮🙀🐴🦎𓆈🐜🪲🐛🪳🐛🐛🐛🦟🪰🪱🐛🕷🕷🐍🐍🐍🐳🦈🦈🦈🐟🦈🦀🦞🥷🐇🐖🐑🐐𓃬🐆𓃻🦍🐻🐻❄️🐻🫏🐭🐀🐹🐅🦋🐧𓅦🦅🐦🐦🦜🐦🐦𓇼🐌
Dang it, I knew at least a couple more in Portuguese but couldn't remember the translations :D
If you have a project and want to test it, your tests will import your project.
So, you need to install pytest as a dependency INSIDE your project.
If you install it globally, when you run it, it can't see your own project.
If you have a project and want to test it, your tests will import your project.
So, you need to install pytest as a dependency INSIDE your project.
If you install it globally, when you run it, it can't see your own project.
Don't use this if you have JSON in a file. Use `load` for that.
This is for when the data comes in a payload, for example.
Don't use this if you have JSON in a file. Use `load` for that.
This is for when the data comes in a payload, for example.