how to get company name from device name in python code example Example: how to get device name using pythno import socket socket.gethostname()