python获取计算机名 作者:马育民 • 2019-04-20 10:57 • 阅读:10117 import socket hostname = socket.gethostname() print(hostname) 原文出处:/show_1EF3BSlAGWpn.html