title: Detect Arduino port in Python
body: <p>I am using an Arduino for sensing using Python 2.7 on Windows XP, but the non-static nature of the USB-to-serial port translation is giving me a headache. With a physical serial port there is no issue hard coding the port position, but the Arduino is moving around based on what is or is not plugged in at the time of object instantiation. Is there some way in Python for me to just get the port address during each object initialization and pass it to <a href="http://pyvisa.sourceforge.net/">PyVISA</a> or <a href="http://pyserial.sourceforge.net/">pySerial</a>?</p>