mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

582
comptes actifs

#python

71 messages64 participants2 messages aujourd’hui

Do you ever forget how to format a number like 1,234.50 in #Python?

Forget the weird f-string syntax for zero-padding and space-padding strings?

Me too.

Over the weekend, I made a tool to help: pym.dev/format

Paste an example of the output string and it'll guess the f-string format spec you need.

pym.devF-string format specification guesserTired of looking up f-string format codes? Paste a formatted string and get the f-string format specification you need to recreate it in Python.

New in IconFontCppHeaders, a set of icon fonts codepoints for C, C++, C#, Python, Rust and Go:
patreon.com/posts/iconfontcpph
- Added Font Awesome 7 free
- Updated Google Material Symbols and Lucide
- To make locating relevant files easier, added a table cross-referencing fonts with languages
github.com/juliettef/IconFontC

PatreonIconFontCppHeaders - New Font Awesome 7 Free, Lucide and Google Material Symbols update, and cross-reference table | enkisoftwareDécouvrez tout ce que vous réserve enkisoftware sur Patreon
#OpenSource#Font#Icon
En réponse à Soumyadeep Ghosh

@soumyadghosh Thanks for this great blog, and thanks even more for the work you are describing here.

And you wrote in your blog: "... So that design collapsed faster than my sleep schedule during GSoC." Is your sleep schedule as it was on the UbuCon Asia 2024 at the first 2 nights where we met:

openprinting.github.io/OpenPri

OpenPrinting · OpenPrinting News - August 2024Soumyadeep Ghosh, Opportunity Open Source in IIT Kanpur, UbuCon Asia 2024, Open Source Summit Europe 2024, Ubuntu Summit 2024, GSoC 2024, Pull Requests

I took a little time explaining to #Claude what my learning goals were for #Python. I asked for a learning curriculum (which is now a project artifact), made up a project prompt, and basically asked Claude to give me a Python bootcamp.

I'm super #ADHD so I've really been struggling with the book method. TONS of reading, not much action. BOOOOORING.

I'm not far in yet, but Claude is giving me those dopamine hits that come with socratic teaching. It knows enough about my tech background to draw on my non-Python experiences and ask me "how would you do this in (other context)?" And then gives me hints about the Pythonic way to do the same thing, but I still have to write the working code.

I'm going to stick to this for a bit. I don't need to be able to pass a coding test or work in Python day to day professionally. At least not yet.