What i need is a way to check the available USB ports in windows using python.
The purpose: I'm trying to run on startUp a script that wait to plug in my Token, and after that the script will log me in automatically into the system that I'm using.
1) Waiting the special port to be used.
2) When detect some device in it - starting the application.
3) Auto log in with the Credentials that are on the token.
I think this should be the easiest way to make this work...
Please give some example of your way implementing step 1.
Thank you in advance!