转载自http://www.blog.pythonlibrary.org/2010/02/06/more-windows-system-information-with-python/ How to Get Your Workstation’s Name In this section, we’ll use the platform module to get our computer’s name. We actually mentioned this trick in my previous