Update opc.py

struct import missing