Module Import alias Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Index NameLoad decorator_list Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr NameLoad Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpMult AttributeLoad NameLoad attr Num If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpMult AttributeLoad NameLoad attr Num TryExcept body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Num orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Num orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Num orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Num orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Pass Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Assign NameStore Call NameLoad While NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Break orelse AugAssignSub NameStore Num Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Num Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Import alias Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list TryExcept body Import alias handlers ExceptHandler type NameLoad body ClassDef bases NameLoad NameLoad body Pass decorator_list orelse ClassDef bases NameLoad AttributeLoad NameLoad attr body Pass decorator_list If CompareEq NameLoad Str body Import alias Assign NameStore Call NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad
N/A N/A clr N/A System N/A System.IO.Ports serial.serialutil * device N/A N/A portnum N/A N/A N/A Turn a port number into a device name N/A N/A N/A N/A N/A N/A N/A System IO Ports SerialPort GetPortNames N/A portnum N/A N/A sab N/A N/A System Array N/A N/A System Byte as_byte_array N/A N/A string N/A N/A N/A N/A sab N/A N/A ord x N/A x string N/A IronSerial N/A SerialBase N/A N/A Serial port implementation for .NET/Mono. N/A BAUDRATES N/A 50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 19200 38400 57600 115200 open N/A N/A self N/A N/A N/A Open port with current settings. This may throw a SerialException
           if the port cannot be opened. N/A N/A N/A self _port None N/A N/A N/A SerialException Port must be configured before it can be used. N/A N/A self _isOpen N/A N/A N/A SerialException Port is already open. N/A N/A N/A N/A self _port_handle N/A N/A N/A N/A System IO Ports SerialPort N/A self portstr N/A N/A N/A Exception N/A msg N/A N/A N/A self _port_handle None N/A N/A SerialException N/A could not open port %s: %s N/A N/A self portstr msg N/A N/A N/A self _reconfigurePort N/A N/A N/A N/A self _port_handle Open N/A N/A self _isOpen True N/A N/A N/A self _rtscts N/A N/A N/A N/A self setRTS True N/A N/A N/A self setDTR True N/A N/A N/A self flushInput N/A N/A N/A self flushOutput N/A _reconfigurePort N/A N/A self N/A N/A N/A Set communication parameters on opened port. N/A N/A N/A self _port_handle N/A N/A N/A SerialException Can only operate on a valid port handle N/A N/A N/A self _timeout None N/A N/A N/A N/A self _port_handle ReadTimeout N/A N/A N/A N/A System IO Ports SerialPort InfiniteTimeout N/A N/A N/A N/A self _port_handle ReadTimeout N/A int N/A N/A self _timeout 1000 N/A N/A N/A self _writeTimeout None N/A N/A N/A N/A self _port_handle WriteTimeout N/A N/A N/A N/A System IO Ports SerialPort InfiniteTimeout N/A N/A N/A N/A self _port_handle WriteTimeout N/A int N/A N/A self _writeTimeout 1000 N/A N/A N/A N/A N/A self _port_handle BaudRate N/A self _baudrate N/A N/A N/A IOError N/A e N/A N/A N/A ValueError N/A str e N/A N/A N/A self _bytesize FIVEBITS N/A N/A N/A N/A self _port_handle DataBits 5 N/A N/A N/A N/A self _bytesize SIXBITS N/A N/A N/A N/A self _port_handle DataBits 6 N/A N/A N/A N/A self _bytesize SEVENBITS N/A N/A N/A N/A self _port_handle DataBits 7 N/A N/A N/A N/A self _bytesize EIGHTBITS N/A N/A N/A N/A self _port_handle DataBits 8 N/A N/A N/A ValueError N/A Unsupported number of data bits: %r N/A self _bytesize N/A N/A N/A self _parity PARITY_NONE N/A N/A N/A N/A self _port_handle Parity N/A getattr N/A N/A N/A System IO Ports Parity None N/A N/A N/A N/A self _parity PARITY_EVEN N/A N/A N/A N/A self _port_handle Parity N/A N/A N/A N/A System IO Ports Parity Even N/A N/A N/A N/A self _parity PARITY_ODD N/A N/A N/A N/A self _port_handle Parity N/A N/A N/A N/A System IO Ports Parity Odd N/A N/A N/A N/A self _parity PARITY_MARK N/A N/A N/A N/A self _port_handle Parity N/A N/A N/A N/A System IO Ports Parity Mark N/A N/A N/A N/A self _parity PARITY_SPACE N/A N/A N/A N/A self _port_handle Parity N/A N/A N/A N/A System IO Ports Parity Space N/A N/A N/A ValueError N/A Unsupported parity mode: %r N/A self _parity N/A N/A N/A self _stopbits STOPBITS_ONE N/A N/A N/A N/A self _port_handle StopBits N/A N/A N/A N/A System IO Ports StopBits One N/A N/A N/A N/A self _stopbits STOPBITS_ONE_POINT_FIVE N/A N/A N/A N/A self _port_handle StopBits N/A N/A N/A N/A System IO Ports StopBits OnePointFive N/A N/A N/A N/A self _stopbits STOPBITS_TWO N/A N/A N/A N/A self _port_handle StopBits N/A N/A N/A N/A System IO Ports StopBits Two N/A N/A N/A ValueError N/A Unsupported number of stop bits: %r N/A self _stopbits N/A N/A N/A self _rtscts N/A self _xonxoff N/A N/A N/A N/A self _port_handle Handshake N/A N/A N/A N/A System IO Ports Handshake RequestToSendXOnXOff N/A N/A N/A self _rtscts N/A N/A N/A N/A self _port_handle Handshake N/A N/A N/A N/A System IO Ports Handshake RequestToSend N/A N/A N/A self _xonxoff N/A N/A N/A N/A self _port_handle Handshake N/A N/A N/A N/A System IO Ports Handshake XOnXOff N/A N/A N/A N/A self _port_handle Handshake N/A getattr N/A N/A N/A System IO Ports Handshake None N/A close N/A N/A self N/A N/A N/A Close port N/A N/A self _isOpen N/A N/A N/A self _port_handle N/A N/A N/A N/A N/A N/A N/A self _port_handle Close N/A N/A N/A N/A N/A N/A System IO Ports InvalidOperationException N/A N/A N/A N/A self _port_handle None N/A N/A self _isOpen False N/A makeDeviceName N/A N/A self port N/A N/A N/A N/A N/A N/A device port N/A N/A N/A TypeError N/A e N/A N/A N/A SerialException N/A str e N/A inWaiting N/A N/A self N/A N/A N/A Return the number of characters currently in the input buffer. N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A self _port_handle BytesToRead N/A read N/A N/A self size N/A 1 N/A N/A Read size bytes from the serial port. If a timeout is set it may
           return less characters as requested. With no timeout it will block
           until the requested number of bytes is read. N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A data N/A bytearray N/A size N/A N/A N/A N/A N/A N/A data append N/A N/A N/A self _port_handle ReadByte N/A N/A N/A N/A System TimeoutException N/A e N/A N/A N/A N/A size 1 N/A N/A bytes data N/A write N/A N/A self data N/A N/A N/A Output the given string over the serial port. N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A isinstance data N/A bytes bytearray N/A N/A N/A TypeError N/A expected %s or bytearray, got %s N/A bytes N/A type data N/A N/A N/A N/A N/A N/A self _port_handle Write N/A as_byte_array data 0 N/A len data N/A N/A N/A N/A System TimeoutException N/A e N/A N/A writeTimeoutError N/A N/A len data N/A flushInput N/A N/A self N/A N/A N/A Clear input buffer, discarding all that is in the buffer. N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A N/A self _port_handle DiscardInBuffer N/A flushOutput N/A N/A self N/A N/A N/A Clear output buffer, aborting the current output and
        discarding all that is in the buffer. N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A N/A self _port_handle DiscardOutBuffer N/A sendBreak N/A N/A self duration N/A 0.25 N/A N/A Send break condition. Timed, returns to idle state after given duration. N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A time N/A N/A N/A self _port_handle BreakState True N/A N/A N/A time sleep duration N/A N/A N/A self _port_handle BreakState False N/A setBreak N/A N/A self level N/A True N/A N/A Set break: Controls TXD. When active, to transmitting is possible. N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A self _port_handle BreakState N/A bool level N/A setRTS N/A N/A self level N/A True N/A N/A Set terminal status line: Request To Send N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A self _port_handle RtsEnable N/A bool level N/A setDTR N/A N/A self level N/A True N/A N/A Set terminal status line: Data Terminal Ready N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A self _port_handle DtrEnable N/A bool level N/A getCTS N/A N/A self N/A N/A N/A Read terminal status line: Clear To Send N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A self _port_handle CtsHolding N/A getDSR N/A N/A self N/A N/A N/A Read terminal status line: Data Set Ready N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A self _port_handle DsrHolding N/A getRI N/A N/A self N/A N/A N/A Read terminal status line: Ring Indicator N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A False N/A getCD N/A N/A self N/A N/A N/A Read terminal status line: Carrier Detect N/A N/A N/A self _port_handle N/A N/A portNotOpenError N/A N/A N/A self _port_handle CDHolding N/A N/A N/A N/A N/A io N/A N/A N/A ImportError N/A Serial N/A IronSerial FileLike N/A N/A N/A N/A Serial N/A IronSerial N/A io RawIOBase N/A N/A N/A N/A N/A __name__ __main__ N/A N/A sys N/A s N/A Serial 0 N/A N/A N/A N/A sys stdio write N/A %s
 s N/A s N/A Serial N/A N/A N/A N/A sys stdio write N/A %s
 s N/A N/A s baudrate 19200 N/A N/A s databits 7 N/A N/A N/A s close N/A N/A s port 0 N/A N/A N/A s open N/A N/A N/A N/A sys stdio write N/A %s
 s