摘要:
# 将该脚本和pyd放同一目录 import os #导入模块 filename = os.getcwd() #文件地址 list_path = os.listdir(filename) #读取文件夹里面的名字 for index in list_path: #list_path返回的是一个列表 通 阅读全文
posted @ 2023-05-24 14:20
zwnsyw
阅读(157)
评论(0)
推荐(0)
摘要:
from pynput import keyboard # 监听键盘按下 def listenKey(): with keyboard.Listener(on_press=on_press, on_release=None) as (listener): listener.join() # 监听回调 阅读全文
posted @ 2023-05-24 01:38
zwnsyw
阅读(241)
评论(0)
推荐(0)

浙公网安备 33010602011771号