start o65dump.py

This commit is contained in:
Byron Lathi
2023-08-22 19:27:26 -07:00
parent 9972f8cb36
commit c5b1a47c8e

15
sw/script/o65dump.py Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/python
import sys
def main() -> None:
if len(sys.argv) < 2:
print("Please supply a filename")
return
filename = sys.argv[1]
print(filename)
with open(filename, "rb") as file:
print(file.read(1))
if __name__ == "__main__":
main()