Ned Batchelder

Cairo in Jupyter, better

15 May

I finally came up with a way I like to create PyCairo drawings in a Jupyter notebook. » more..

Twitter tidbits

8 May

Lately I’ve been posting Python tidbits on Twitter. Here’s a bit about how I make them. » more..

Python custom formatting

14 April

Python objects can define their own format mini-language. » more..

Singleton is a bad idea

10 April

Design patterns are a great way to think about interactions among classes. But the classic Singleton pattern is bad: you shouldn’t use it and there are better options. » more..

More blog ·· #art · #audio · #autism · #beginners · #boston · #cog · #concurrency · #coverage · #css · #debugging · #experts · #friends-&-family · #git · #github · #graphics · #juggling · #maps · #math · #online · #open-source · #parenting · #python · #shells · #testing · #walking · 2022 · 21 · 20 · 19 · 18 · 17 · 16 · 15 · 14 · 13 · 12 · 11 · 10 · 09 · 08 · 07 · 06 · 05 · 04 · 03 · 02 · RSS feed » more topics..

Code

software I made

  • Flourish ·· a harmonograph explorer
  • coverage.py ·· for measuring Python code coverage
  • Scriv ·· for managing changelogs

» more code..

Text

words I wrote

» more text..