python-network
Python module for easy networking

◆ sendline()

def network.Socket.sendline (   self,
  data 
)

Send a line of text.

Identical to send(), but data is a str and a newline is added.

Parameters
dataline to send. A newline is added. This should be of type str. The data is sent as utf-8.
Returns
None.

Definition at line 299 of file network.py.