Mayron Ceccon Posted on Dec 6, 2019 It's possible changed hosts of linux with Python? #help #discuss #python Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand rhymes rhymes rhymes Follow Such software as dreams are made on. I mostly rant about performance, unnecessary complexity, privacy and data collection. Joined Feb 2, 2017 • Dec 7 '19 Dropdown menu Copy link Hide You can try using sethostname in the socket module: docs.python.org/3/library/socket.html Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
You can try using
sethostname
in the socket module: docs.python.org/3/library/socket.html