Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

How can I use Python to get the system hostname?

Asked by Anna Ball Apr 9, 2021 931 views 1 answer
Share

About this question

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.

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.