Skip to content

Instantly share code, notes, and snippets.

View jwodder's full-sized avatar

John T. Wodder II jwodder

  • A well house for a large spring
  • 18:44 (UTC -04:00)
View GitHub Profile
@jwodder
jwodder / print256colours.py
Last active November 2, 2021 02:38 — forked from HaleTom/print256colours.sh
Print a 256-colour test pattern in the terminal
#!/usr/bin/env python3
import argparse
from dataclasses import dataclass
from typing import Optional
# John Thorvald Wodder II, 2016-2021.
# Tom Hale, 2016. MIT Licence.
# Print out 256 colours, with each number printed in its corresponding colour
# See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163