python调用windows api

mac2022-06-30  103

 

import ctypes # 方式一 ctypes.windll.user32.MessageBoxA(None, 'message', 'title', 0) # 方式二 ctypes.WinDLL('user32.dll').MessageBoxA(None, 'message', 'title', 0)

 

转载于:https://www.cnblogs.com/hhh5460/p/5244630.html

相关资源:python调用windows api锁定计算机示例
最新回复(0)