This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import sys | |
import copy | |
import struct | |
import pprint | |
import traceback | |
def pcd_read(filename, verbose=0, verbose_steps=0): | |
# Refer this to unpack - https://docs.python.org/3/library/struct.html#format-characters |