ValueError: "port" must be None or a string, not <class 'int'>
ValueError: "port" must be None or a string, not <class 'int'> Question: I am trying to issue commands to my usb connected lock controller. The code runs fine until this line: Connected ports: [‘COM6’] Please enter the port number that has port connected. i.e. if COM3 is shown, enter 3 when ask to enter port …