Re: How can I enumerate (list) serial ports?

2009-06-18 Thread Jason
On Jun 18, 2:20 pm, Tim Golden 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 mig

Re: How can I enumerate (list) serial ports?

2009-06-17 Thread Tim Golden
Jason wrote: Hi, I'm developing an application to talk to a device over a serial port. I'm trying my hardest to keep it cross platform, so I was using pySerial for the serial communications. But I can't see a pythonic, cross-platform way to enumerate serial ports on a machine. As with many oth

How can I enumerate (list) serial ports?

2009-06-17 Thread Jason
Hi, I'm developing an application to talk to a device over a serial port. I'm trying my hardest to keep it cross platform, so I was using pySerial for the serial communications. But I can't see a pythonic, cross-platform way to enumerate serial ports on a machine. Ideally I could show the user a