Just play around with the functions, and read the documentation.
You can read all different types. I would recommend to pack the data you want to send into a struct of a datablock. Then you can use this struct as parameter for the Tsend function.
On python side you have to convert the data into python types, using unpack. Keep in mind that the S7 uses big endian.
In the attached PDF I've shown how to convert a struct with a Word (2 Bytes), an Int (2 Byte) and a Real (4 Byte) value. Overall 8 bytes you have to send and receive.
You can read all different types. I would recommend to pack the data you want to send into a struct of a datablock. Then you can use this struct as parameter for the Tsend function.
On python side you have to convert the data into python types, using unpack. Keep in mind that the S7 uses big endian.
In the attached PDF I've shown how to convert a struct with a Word (2 Bytes), an Int (2 Byte) and a Real (4 Byte) value. Overall 8 bytes you have to send and receive.