1
0
mirror of https://github.com/sm64pc/sm64pc.git synced 2025-04-12 00:05:59 +02:00
sm64pc/tools/zeroterm.py

7 lines
167 B
Python

#!/usr/bin/env python3
import sys
if len(sys.argv) < 2:
print("usage: zeroterm <string>")
else:
sys.stdout.buffer.write(bytes(sys.argv[1], 'ascii') + b'\x00')