mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
6 lines
167 B
Python
6 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')
|