2020年9月17日
技术博客主要记录一些平时遇到的问题及解决方法20行代码实现右Shift(任意按键)切换输入法中英文
废话不说直接上干货1、安装keyboard包pip install keyboard2、保存下面的代码到py文件中import keyboard MAX_TIME = 0.5 # 最大切换间隔单位(秒) MY_LOVE_TOGGLE_KEY = 'right shift' # 想要设置的...
Golang TCP UDP
创建TCP连接func createTcpServer(host string, port int) (*net.TCPListener, error) { logger.Debug("create tcp listener") tcpListener, e...
最新回复