Function list_ports()

← Back to Module serial



Module serial → list_ports()

Description

Get the list of all available serial ports

list_ports()


Parameters

There are no parameters.


Return Value


Usage Example

import serial
 
ports = list_ports()
writer(ports)