python

Back Open Paginator
01.08.2025 02:04
pyladiescon (@pyladiescon@fosstodon.org)

🚨 Reminder: The #PyLadiesCon 2025 CFP is still OPEN! 💜🐍

There’s still time to submit your talk and be part of our global, online conference!

🎤 First-time & experienced speakers welcome

🗓 Event: Dec 5–7
📝 Submit by Aug 8: pretalx.com/pyladiescon-2025/c

#CFP #Python #PyLadies





Show Original Post


01.08.2025 01:35
treyhunner (@treyhunner@mastodon.social)

What if you need to compare two iterables while ignoring the order of their items?

Read the full article: Checking whether iterables are equal in Python
trey.io/0frqkp




Show Original Post


01.08.2025 00:20
stylus (@stylus@social.afront.org)

better repr for uctypes structures

MicroPython 20250720-9.g28e06bd2d8.dirty on 2025-07-31; macplus with m68000
Type "help()" for more information.
>>> import qd
>>> gbl = qd.qdGlobals()
>>> gbl
<QDGlobals STRUCT 38b528
privates=<struct ARRAY 38b528>
randSeed=1
screenBits=<BitMap STRUCT 38b578>
arrow=<Cursor STRUCT 38b586>
dkGray=<Pattern STRUCT 38b5ca>
ltGray=<Pattern STRUCT 38b5d2>
gray=<Pattern STRUCT 38b5da>
black=<Pattern STRUCT 38b5e2>
white=<Pattern STRUCT 38b5ea>
thePort=<struct PTR 38b5f2>>
>>> gbl.screenBits
<BitMap STRUCT 38b578
baseAddr=<struct PTR 38b578>
rowBytes=64
bounds=<Rect STRUCT 38b57e>>

#m68kMicroPython #macintosh #retroComputing #python




Show Original Post


01.08.2025 00:15
leanpub (@leanpub@mastodon.social)

Master Python leanpub.com/b/masterpython by Noah Gift and Alfredo Deza is the featured bundle of ebooks 📚 on the Leanpub homepage! leanpub.com





Show Original Post


01.08.2025 00:05
SnoopJ (@SnoopJ@hachyderm.io)

I expected there to be pain in migrating from Pydantic v1 to v2, but I did NOT expect to need to define an "alias" (?!) of a field to its own name to preserve behavior from v1.

Very strange and counterintuitive jank, but at least there's a fix.

snoopj.dev/pyplay/pydantic_/v1

#Python




Show Original Post


31.07.2025 23:55
ehmatthes (@ehmatthes@fosstodon.org)

Reading the release notes in detail is so interesting! It took 20 years to get more specific versions of `strptime()`, for `date` and `time` objects:

github.com/python/cpython/issu

#Python




Show Original Post


31.07.2025 23:40
knizer (@knizer@toot.boston)

#BostonWeekend 18/x
Sat #WEB Its #HTML Day! Cambridge Crossing, 3-5pm, free hosted by fediverse’s own @cxli and @kayserifserif - come write HTML with us, no experience required
icosahedron.website/@cxli/1149
boston-html-day.neocities.org #Bostodon
#FrontEnd #WebPages #textEditor #hacking #Boston #CambridgeMA #Firefox #chrome #W3C #HTMLDay #Markup #Markdown #javascript #Typescript #python #code #browser #software #language




Show Original Post


31.07.2025 23:36
smattymatty (@smattymatty@techhub.social)

Here is the first draft of my Terminal Tutorials! I plan on making many tutorials like this within my tool, teaching users the concepts of #Python and Type checking.

I think also, as an educational content creator, it would be awesome to create videos using this tool, the built-in tutorial can guide you along teaching your viewers!

Do you have any suggestions for a feature like this? I want to iteratively improve on it!

#Education #Programming





Show Original Post


31.07.2025 23:34
display (@display@anonsys.net)

Python vs C++

anonsys.net/display/bf69967c-1





Show Original Post


31.07.2025 22:50
post (@post@programming.dev)

Nix(OS) for Python Developers · Painless

programming.dev/post/34879249




Show Original Post


31.07.2025 22:47
Python_Ireland (@Python_Ireland@mastodon.ie)

The final countdown for the PyCon Ireland is underway - get those submissions in!

Submit your ideas here: python.ie/pycon-2025/call-for-

#PyConIE #PythonIE #Python #PyCon #CallForSpeakers





Show Original Post


31.07.2025 22:22
jochen (@jochen@fedi.wersdoerfer.de)

This #weeknotes cover Python sentinel values (spoiler: avoid them unless necessary), IndieWeb integration with django-indieweb, and setting up a new M4 Mac Studio for local model testing. Plus: the perils of switching to US keyboard layout.

wersdoerfer.de/blogs/ephes_blo

#Python #IndieWeb #WebDev #MacStudio




Show Original Post


1 ...1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 ...1544
UP