用户登录
用户注册

分享至

python在windows锁屏的代码

  • 作者: 辣条43295881
  • 来源: 51数据库
  • 2022-08-12
python在windows锁屏的代码
C:\Users\wangmingjie>python
Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> user32 = windll.LoadLibrary('user32.dll')
>>> user32.LockWorkStation()
1
>>>

软件
前端设计
程序设计
Java相关