import hardware class Simulator: def __init__(self, port): self.socket = port