19 lines
255 B
Python
19 lines
255 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
Prints out the structure of the given GCD file.
|
|
"""
|
|
|
|
from grmn import Gcd, ChkSum
|
|
import sys
|
|
|
|
FILE = sys.argv[1]
|
|
|
|
print("Opening {}".format(FILE))
|
|
|
|
gcd = Gcd(FILE)
|
|
|
|
gcd.print_struct()
|
|
gcd.validate(True)
|