Is there a way to send information from a python program out the serial port

I am monitoring certain conditions in the WR21 using a python program. Is there a way to send this information to the serial port for consumption by another device?

Hi

if you look at this PDF

https://www.digi.com/resources/documentation/digidocs/PDFs/90001537.pdf

on page 811 there is an example of how to write and read from serial interface in python