from struct import pack from svgpathtools import Line import math def encodeU8(num): return pack("