bin/chars-to-phred @ 7cb0e1e6a217

More
author Steve Losh <steve@stevelosh.com>
date Thu, 20 Nov 2025 11:24:53 -0500
parents 890e2d48b6f7
children (none)
#!/usr/bin/env python3

import sys

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