inkex.ports module#
Common access to serial and other computer ports.
- class inkex.ports.Serial(port, baud=9600, timeout=0.1, **options)[source]#
Bases:
object
Attempt to get access to the computer’s serial port.
- with Serial(port_name, …) as com:
com.write(…)
Provides access to the debug/testing ports which are pretend ports able to accept the same input but allow for debugging.