I need to connect a lot of devices to computer which means my COM port number is very high i have another script that can get all com ports and it does for i in range 9999 as an example, this library does in range 29 i believe and i can change it to 99 but if it gets into 3 digit and 4 digit it no longer works. So is there a way to edit the code so it can detect ports on COM125 for example.