Leon Sandøy (@lemonsaurus_rex) header
Leon Sandøy (@lemonsaurus_rex) profile picture

Co-founder of https://teapaw.org/t.co/CHKrmn7XZO Fellow of @thePSF Lead DevEx at https://teapaw.org/t.co/Y6UZwaNdaE My beard is probably bigger than yours.

Norway
Joined February 2019
Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)Photo by Leon Sandøy (@lemonsaurus_rex)
No neural networks were harmed in the making of this new Python 3.12 error message 😄
3
22
3
153
Monday starting 17:00 UTC @pyblogsal will be releasing Python 3.11 *live*. Expect cameos by some other core devs. Watch the live stream: youtube.com/watch?v=PGZPSWZS…
6
168
28
620
Leon Sandøy retweeted
TIL; the `lru_cache()` python decorator that reduced a Fibonacci function execution from 32s to 0.18 ms. I think I'm in love <3
13
104
4
797
Our new Python Style Guide includes a revised Zen of Python that releases us from the burden of having to format our code. It's based on the collective experience of our community. See: peps.pythondiscord.com/pep-9… Expect a PR for PEP 9001 soon, @ThePSF.
3
4
1
13
Leon Sandøy retweeted
Knowing when to use a set in #Python can be VERY handy sometimes. no_neighbors = [ n for n in nums if n-1 not in nums and n+1 not in nums ] If "nums" is a list of 500,000 numbers, this takes 54 minutes. Convert "nums" to a set and this taken less than 1 second.
6
87
4
430
Prof. Craven has been making some really interesting new changes to his already excellent Python Arcade library! It's really come a long way in the past few years, I highly recommend it, especially as a vehicle for learning. @KellyPared @smtibor You guys should check this out!
Demo the Python Arcade Library! Create high-performance 2D games with Python. It is Arcade's 6th birthday today. arcade.academy youtu.be/QClDvEwcxmg #python #cseducation @ThePSF #gamedev
1
1
3
Leon Sandøy retweeted
Replying to @shidonichan
HTTPS is the plural form of HTTP
24
33
7
923
I'm seriously giddy about learning exactly how releasing a new version of Python works! 🐍 I'll be co-hosting and asking some of the smartest people I know a bunch of stupid questions!😅If you have a stupid question you'd like me to ask, make sure you let me know!
Join us at the Python 3.10 release party 🥳 that we are organising with the good people of @PythonDiscord. We will have several core devs 👩‍💻 speaking about new Python features and secrets and you can see me making mistakes live! 🚀 #python_release_party youtube.com/watch?v=AHT2l3hc…
1
6
27
Python 3.10.0 🐍is one month 📅away, can you believe it? Meanwhile, we have the final release candidate for you while we squash the last bugs 🐞, polish the docs 📕and make sure the final release will be as shiny as possible✨ Get the latest RC here: python.org/downloads/release…
3
35
5
187
Building a community bot for the Lemonsaurus Discord community. I'm calling it Tyrant and giving it a mean avatar so I won't feel so guilty when I have to kick people out. Join us at discord.gg/hc5pDWNNzx
2
Leon Sandøy retweeted
PyWeek 32 is coming up in September! We kick off with theme voting on the 12th, then the jam runs from 19th-25th. Everything happens at pyweek.org, plus you can join the chat in @PythonDiscord.