Python在windows下的锁屏代码
Python 2.7.8 (default, Jun 30 2014, 16:08:48) on win32Type "copyright", "credits" or "license()" for more information.
>>>
>>>
>>> from ctypes import *
>>> user32 = windll.LoadLibrary('user32.dll')
>>> user32.LockWorkStation()
1
页:
[1]