How can I use Python to get the system hostname?
Question description - I'm writing a chat program for a local network. I would like to be able to identify computers and get the user-set computer name with Python.