前言 press方法是用来模拟键盘按键输入,可以组合使用,来模拟键盘输入,解决一些难定位的元素 入参介绍 以下是press源码中的函数介绍 def press(key): :入参 :param key: Key or combination of keys to be pressed. Presses the given key or key combination. To press a normal letter key such as 'a' simply call `press
从 模仿UP主,用Python实现一个弹幕控制的直播间! - 蛮三刀酱 - 博客园 (cnblogs.com) 知道了 PyAutoGUI: * Moving the mouse and clicking in the windows of other applications.* Sending keystrokes to applications (for example, to fill out forms).* Take screenshots, and given an image (