You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Docstring and no print()
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from __future__ import print_function
|
"""
|
||||||
|
Convert an rgbds .map file into a sorted .sym file
|
||||||
|
with bank and section data in comments.
|
||||||
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
@@ -105,7 +108,7 @@ def sorted_mapfile(input):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
if len(sys.argv) < 3:
|
if len(sys.argv) < 3:
|
||||||
print('Usage: %s pokecrystal.map sorted.sym' % sys.argv[0], file=sys.stderr)
|
sys.stderr.write('Usage: %s pokecrystal.map sorted.sym\n' % sys.argv[0])
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
input_filename = sys.argv[1]
|
input_filename = sys.argv[1]
|
||||||
output_filename = sys.argv[2]
|
output_filename = sys.argv[2]
|
||||||
|
Reference in New Issue
Block a user