Saturday, December 20, 2008

Python Programming on Win32: Chapter 12 Advanced Python and COM

Python Programming on Win32: Chapter 12 Advanced Python and COM: " Getting name of the local machine:

import win32api
win32api.GetComputerName() # Output: SYS10

No comments: