Simple Python struct format-string explainer
Hi everyone! As a side project I made a tiny static website that helps explain format strings used with Python's `struct` module. Type/paste in a format string and you get a quick explanation of the structure instead of having to look through the docs. It's open source, happy to hear any suggestions how to make it more useful.
Does the same job
all alternatives →- IWI wrote a book on Python regular expressions2019 · ▲193
My book titled "Python re(gex)?" is free to download through this weekend [1][2] The book covers both 're' and 'regex' modules, has plenty of examples and chapters also have cheatsheets and exercises. Code snippets, exercises, sample chapters, etc are available on GitHub repo [3] I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/py_regex [2] https://leanpub.com/py_regex [3] https://github.com/learnbyexample/py_regular_expressions [4]…
- IPInside Python Dict – an explorable explanation2018 · just-taking-a-ride.com · ▲111


- NLNotational `ls` - Never get lost in code again (hour long hack)2011 · ▲29
Hey folks, I just wanted to share a quick script I threw together called notational ls. One of the big problems of any code base (or any filesystem) is that it's hard to tell what's what - folder and file names often trade brevity for clarity. So I thought about a version of `ls` that works like this: > nls web: Where python web server files are stored ad_hoc: One time scripts ios: Our IOS code images Adding descriptions is really easy too: > nls images Images SHARED between both ios and web web: Where python web server files are stored ad_hoc: One time scripts ios: Our IOS code…
- PCPython.cards – Learn Python with spaced repetition2024 · python.cards · ▲9
Hi HN! During the last year, I've been building python.cards: a site to learn Python using spaced repetition. My goal is to make the most of spaced repetition by making it extremely simple to use and by providing high quality flash cards. The site has been live for a month, with a few daily users who had joined the waitlist. The feedback has been quite positive, with most of the users using the site every day. Currently, we have a free deck (A Tour of the Stdlib) and a paid one (Pathlib in depth, for $9.99). I have other decks in the works, covering topics such as f-strings, collections,…
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, July 2022
the whole month →
- PO
Life & fun · 2022 · justine.lol
- PO
Dev tools · 2022 · github.com

- PP
Hello, HN - I wanted to share this puzzle game I made during my vacation. I'm rather fond of the pipes puzzle where your goal is to restore a scrambled network of connections by rotating tiles. It's usually played on a grid of squares and this all started when I decided to make a programmatic solver for that kind of puzzle. Then I realized that with some minor changes the solver could generate new puzzle instances. I thought about what kind of puzzle to make and someone suggested a hexagonal grid. Adapting the generator wasn't too hard but then I had to create a way to play this variant. So…
Life & fun · 2022 · hexapipes.vercel.app
- PD
We're building Parsnip to create a "tech tree" of cooking skills that allows anyone to level up on the building blocks of cooking knowledge while tracking their progress over time. It took us a few iterations to figure out the right product; here's the story of our latest pivot: [https://parsnip.substack.com/p/a-new-hope] The goal is to create a personalized way to learn any recipe on the Internet, then use this as a springboard to help home cooks of all levels solve the problem of repeated meal planning in a 10x better way:…
Work · 2022 · parsnip.ai