On Jun 18, 2:20 pm, Tim Golden <m...@timgolden.me.uk> wrote: > but I imagine that, behind the scenes, it's doing some sort > of conditional imports according to platform.
I have, and yes indeed it does. > I imagine you'd > have to do something similar to get a list of port names. That's what I thought, although I might just defer to the user knowing what to type in (since they would have to identify the port allocated to the device in the first place). > On Windows, WMI can give you what you want. Look at the > Win32_SerialPort class. Hopefully, someone else can help > for other platforms. Thanks for this pointer :) Cheers, Jason -- http://mail.python.org/mailman/listinfo/python-list