import random import time import math import binascii import struct import os