Skip to content

Instantly share code, notes, and snippets.

View zemahran's full-sized avatar

Zeyad Mahran zemahran

View GitHub Profile
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