Set hostname with Python

441 Views Asked by At

I have searched some libraries for python (os, platform, socket), but I can't seem to find how to set/write/configure the hostname (computer name). I know how to get it, but I need to know how to set it. This for Windows 10 computers.

If anyone has any tip, thanks!

0

There are 0 best solutions below