Get Remote linux device Serial number

Hello,

I’m very new to python and am trying to figure out if there is a way to get the serial number of a remote linux device using python. Any and all suggestions are welcomed.

What serial number are you referring to?
Do you know a linux command that shows that serial number?