Solution: to Unicode CLI
examples/strings/to_ascii_char.py
import sys if len(sys.argv) != 2: exit(f"Usage: {sys.argv[0]} CHARACTER") print( ord( sys.argv[1]) )
examples/strings/to_ascii.py
import sys if len(sys.argv) != 2: exit(f"Usage: {sys.argv[0]} STRING") for cr in sys.argv[1]: print( ord( cr ) )