XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

@trey.io - Trey Hunner

Python & Django team trainer I help folks sharpen their Python skills with https://PythonMorsels.com 🐍πŸͺ I also blog at https://treyhunner.com & run https://Whereabouts.Earth PSF Fellow. YIMBY. 95% vegan.

Python Tip #301 (of 365): Don't delete "unnecessary" syntax that makes code more readable. 🧡 Some code is unnecessary b

Python Tip #301 (of 365): Don't delete "unnecessary" syntax that makes code more readable. 🧡 Some code is unnecessary but NOT unhelpful: def earliest_date(date1, date2): if parse(date1) < parse(date2): return date1 else: return date2 #Python #DailyPythonTip https://pym.dev/unnecessary-else-statements/

I just launched a Python Morsels course: Lazy Looping in Python πŸ” Learn to build your own looping helpers with generato

I just launched a Python Morsels course: Lazy Looping in Python πŸ” Learn to build your own looping helpers with generators, iterators, and itertools. It also includes a Daily Recall pack: spaced repetition that unlock as you progress, so you actually REMEMBER what you learn. Section 1 is free! πŸ‘‡ https://www.pythonmorsels.com/courses/lazy-looping/overview/

Python Tip #300 (of 365): Separate the steps of a function with blank lines. 🧡 If you're using an auto-formatter like r

Python Tip #300 (of 365): Separate the steps of a function with blank lines. 🧡 If you're using an auto-formatter like ruff or Black, you won't have control over most of your whitespace. But how you use blank lines within functions is still up to you. #Python #DailyPythonTip https://pym.dev/embrace-whitespace/