econtwitter.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for Economists.

Administered by:

Server stats:

170
active users

#Python

208 posts183 participants6 posts today
halcy​ :icosahedron:<p>And here is the instant followup version 2.1.1, mostly fixing some docs and type annotations:</p><p>* Changelog: <a href="https://github.com/halcy/Mastodon.py/releases/tag/v2.1.1" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/halcy/Mastodon.py/r</span><span class="invisible">eleases/tag/v2.1.1</span></a><br>* Docs: <a href="https://mastodonpy.readthedocs.io/en/v2.1.1/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodonpy.readthedocs.io/en/v</span><span class="invisible">2.1.1/</span></a></p><p><a href="https://icosahedron.website/tags/mastodev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodev</span></a> <a href="https://icosahedron.website/tags/mastodonpy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodonpy</span></a> <a href="https://icosahedron.website/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>
Simon Brooke<p><span class="h-card" translate="no"><a href="https://schleuss.online/@itnewsbot" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>itnewsbot</span></a></span> </p><p>"Can you write code that is actually a 2D graphic? Where the graphical layout isn’t a cover for code, but is the code itself?"</p><p>Surely <a href="https://mastodon.scot/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> has already answered this question: you can, but it's not a good idea.</p>
Dan MacLeod :PUA: :archlinux:<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nixCraft" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nixCraft</span></a></span> I am well on my way experience-wise after fixing bodged-together <a href="https://aus.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> code for nearly a decade.</p>
Spencer Magnusson<p>My free add-on extension repository is now updated! The URL is now <a href="https://extensions.spencermagnusson.com/add_ons/index.json" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">extensions.spencermagnusson.co</span><span class="invisible">m/add_ons/index.json</span></a></p><p>I'll keep the GitHub one around so people won't be confused during the transition, but I'll announce this in my next video.</p><p><a href="https://graphics.social/tags/b3d" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>b3d</span></a> <a href="https://graphics.social/tags/Blender3d" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Blender3d</span></a> <a href="https://graphics.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a></p>
Rye<p>I'm hosting a programming workshop <br>it starts on the 26th and runs for 6 weeks. </p><p>Meets Tuesdays / Thursdays: <br>Register <a href="https://sa.wentcloud.com/learn-to-program/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sa.wentcloud.com/learn-to-prog</span><span class="invisible">ram/</span></a> </p><p><a href="https://ioc.exchange/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://ioc.exchange/tags/workshop" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>workshop</span></a> <a href="https://ioc.exchange/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://ioc.exchange/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://ioc.exchange/tags/learning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>learning</span></a> <a href="https://ioc.exchange/tags/education" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>education</span></a></p>
ɹ uɐp :antifascism:<p>BEHOLD - I have discovered an ANCIENT BLENDER PLUGIN which is SO OLD it is IMPLEMENTED IN PYTHON 2.X 💀 🐍 :blender: </p><p><a href="https://hellions.cloud/tags/b3d" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>b3d</span></a> <a href="https://hellions.cloud/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>
Lobsters<p>Preventing Domain Resurrection Attacks (on the Python Package Index) <a href="https://lobste.rs/s/fuaxsi" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/fuaxsi</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>security</span></a><br><a href="https://blog.pypi.org/posts/2025-08-18-preventing-domain-resurrections/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.pypi.org/posts/2025-08-18</span><span class="invisible">-preventing-domain-resurrections/</span></a></p>
Rhett Allain<p>New <a href="https://mastodon.social/tags/physics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>physics</span></a> video - modeling elastics, inelastic, and plain collisions with <a href="https://mastodon.social/tags/vpython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vpython</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p><p><a href="https://youtu.be/miqlwBXxWJE" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/miqlwBXxWJE</span><span class="invisible"></span></a></p>
David Zaslavsky<p><span class="h-card" translate="no"><a href="https://mastodon.social/@glyph" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>glyph</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@hynek" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hynek</span></a></span> it'd be interesting IMO to see the breakdown of how many people use YouTube by level of experience. My hypothesis is that there's a (positive) correlation between level of experience and preference for written documentation over video documentation - I think videos are reasonably well suited for tutorials (if you are the type of person who can learn from a video at all) but poorly suited for the reference documentation that more experienced devs are more likely to use.</p><p><a href="https://techhub.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://techhub.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Glyph<p>Okay so I am putatively a <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/ThoughtLeader" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ThoughtLeader</span></a> ™ so perhaps I should go through and give this a non-jokey read-through, and share some impressions: <a href="https://lp.jetbrains.com/python-developers-survey-2024/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lp.jetbrains.com/python-develo</span><span class="invisible">pers-survey-2024/</span></a></p><p>I really appreciate that they do these every year.</p>
Leanpub<p>Ultimate ML interpretability bundle: Interpretable Machine Learning + Interpreting Machine Learning Models With SHAP <a href="https://leanpub.com/b/interpretability" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">leanpub.com/b/interpretability</span><span class="invisible"></span></a> by Christoph Molnar is the featured bundle of ebooks 📚 on the Leanpub homepage! <a href="https://leanpub.com" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">leanpub.com</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/DataScience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataScience</span></a> <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/MachineLearning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MachineLearning</span></a></p>
Kushal Das :python: :tor:<p>To all new <a href="https://toots.dgplug.org/tags/uv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uv</span></a> users:</p><p>```<br>uv self update<br>```</p><p>You can do this :) <a href="https://toots.dgplug.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>
Trey Hunner 🐍<p>Do you ever forget how to format a number like 1,234.50 in <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a>?</p><p>Forget the weird f-string syntax for zero-padding and space-padding strings?</p><p>Me too.</p><p>Over the weekend, I made a tool to help: <a href="https://pym.dev/format" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pym.dev/format</span><span class="invisible"></span></a></p><p>Paste an example of the output string and it'll guess the f-string format spec you need.</p>
Python Package Index<p>PyPI now checks for expired domains to prevent domain resurrection attacks, a type of supply-chain attack where someone buys an expired domain and uses it to take over <a href="https://fosstodon.org/tags/PyPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyPI</span></a> accounts through password resets. <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://fosstodon.org/tags/SupplyChain" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SupplyChain</span></a> <a href="https://fosstodon.org/tags/Security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Security</span></a><br><a href="https://blog.pypi.org/posts/2025-08-18-preventing-domain-resurrections/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.pypi.org/posts/2025-08-18</span><span class="invisible">-preventing-domain-resurrections/</span></a></p>
David Zaslavsky<p><span class="h-card" translate="no"><a href="https://defcon.social/@fl0und3r" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>fl0und3r</span></a></span> Very true 🙂</p><p>I actually think another one of the underappreciated strengths of <a href="https://techhub.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> is its "nonstandard library" - PyPI - but of course that's not something total beginners need to worry about just yet!</p>
Judy2k<p>We've got an amazing speaker lined up at <a href="https://chaos.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://chaos.social/tags/Edinburgh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Edinburgh</span></a>, on 9th September. <br><span class="h-card" translate="no"><a href="https://mastodon.social/@ambv" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ambv</span></a></span> is going to be talking about WebGL and PyScript!</p><p><a href="https://www.meetup.com/python-edinburgh/events/310583739/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/python-edinburgh/ev</span><span class="invisible">ents/310583739/</span></a></p><p><a href="https://chaos.social/tags/pythondev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pythondev</span></a> <a href="https://chaos.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Flounder<p>Dear <a href="https://defcon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> noobs,<br>Python has a fantastic standard library, please use it. I know you just got out of a bootcamp where you memorized how to write quicksort, but for the love of Guido skim through the standard library so you don't try to reproduce URL parsing (see `urllib.parse`), or date-math (see `datetime`, `datetime.timedelta` is your friend). I guarantee you have better things to do than to reproduce the standard library poorly.</p><p>I'm tired of debugging your code</p>
Talk Python Podcast<p>We'll be celebrating <a href="https://fosstodon.org/tags/django" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>django</span></a> 's 20th birthday with its creators in a few hours. Want to join the episode live? <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> cc <span class="h-card" translate="no"><a href="https://fosstodon.org/@mkennedy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mkennedy</span></a></span> </p><p><a href="https://www.youtube.com/watch?v=qlYCUI5T_Bk" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=qlYCUI5T_Bk</span><span class="invisible"></span></a></p>
Katja 「Amethyst」<p>anyone familiar with VSCode and Jupyter notebooks on here?</p><p>we're switching to VSCode in our computer science class this year; my question is, how accessible are Jupyter notebooks to screen readers? are there any pitfalls we need to be aware of? what keyboard shortcuts do we need to know?</p><p><a href="https://social.treehouse.systems/tags/Accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Accessibility</span></a> <a href="https://social.treehouse.systems/tags/Blind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Blind</span></a> <a href="https://social.treehouse.systems/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://social.treehouse.systems/tags/VSCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VSCode</span></a> <a href="https://social.treehouse.systems/tags/NVDA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NVDA</span></a></p>
Matt Layman<p>🐍 I did a project with my son when he was younger to create a videogame in <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a>. We *both* learned a lot from the experience, and I recorded what we learned. <a href="https://www.mattlayman.com/blog/2019/teach-kid-code-pygame-zero/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">mattlayman.com/blog/2019/teach</span><span class="invisible">-kid-code-pygame-zero/</span></a></p>