how to find my windows name via cmd code example Example: get hostname socket.gethostbyname(socket.gethostname())