Prepare parsing RGN files.

This commit is contained in:
2019-10-11 16:08:41 +02:00
parent f4d367e572
commit d33ed7ef55
4 changed files with 183 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Prints out the structure of the given RGN file.
"""
from grmn import Rgn
import sys
FILE = sys.argv[1]
print("Opening {}".format(FILE))
rgn = Rgn(FILE)
#rgn.print_struct()
#rgn.validate(True)