bin/chars-to-phred @ 581345d6b360 default tip

More
author Steve Losh <steve@stevelosh.com>
date Mon, 29 Jun 2026 12:50:56 -0400
parents 890e2d48b6f7
children (none)
#!/usr/bin/env python3

import sys

print([ord(ch) - ord("!") for ch in sys.stdin.read().rstrip('\n')])