
Daily Python Tip ππ§
@python_tip
One #python tip per day. Do you have any? Send it to bit.ly/pythontip. Edited by @simecek, @karlafej, and... you?
ID: 827002120373207040
http://bit.ly/pythontip 02-02-2017 03:54:05
1,1K Tweet
40,40K Followers
145 Following



#EuroPython2024 Day 1 π·π Someone on Hacker News described Python type hints as "lipstick on a pig." I kind of agree, but sometimes a pig with lipstick is better than just a pig. Jakub BerΓ‘nek: Writing Python like it's Rust... slides: program.europython.eu/media/europythβ¦ One package I

Still digesting #EuroPython2024, but #DjangoConEU 2024 videos just appeared on YouTube! youtube.com/playlist?list=β¦ My favorites: - AnΕΎe's "Django, SQLite, and Production" youtube.com/watch?v=GTDYwEβ¦ - Christian Tanul's "Functional Chatbots" tutorial (not on YT) github.com/scriptogre/funβ¦


Use "named constructors" to create multiple ways to initialize objects class PaperSize: γ―γ©γΉγ‘γ½γγ def iso_a4(cls): return cls(210, 297) def __init__(self, width_mm, height_mm): self.width_mm = width_mm self.height_mm = height_mm

#EuroPython2024 videos are live! πΊ My top 3 ML talks: 1) "From Text to Context..." about combining semantic & traditional search youtube.com/live/vfmS8uwT4β¦ 2) "Scikit-LLM..." because of beginner-friendly NLP with dynamic few-shots youtube.com/live/m1P5baHpPβ¦ 3) "Representation is








