write#
method
- RTO.write(message, termination=None, encoding=None)[source]#
Writes a message to the scope.
- Parameters:
- messagestr
The message to send.
- terminationstr, optional
Alternative character termination to use. If None, the value of write_termination is used. Defaults to None.
- encodingstr, optional
Alternative encoding to use to turn str into bytes. If None, the value of encoding is used. Defaults to None.