SHARE
TWEET

Untitled

a guest Jun 15th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def get_ports():
  2.     return serial.tools.list_ports.comports()
  3.      
  4. >>> get_ports()
  5. [<serial.tools.list_ports_common.ListPortInfo object at 0x00C8FFB0>]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top