摘要: 已经装了fcitx,之前都是可以用的,今天启动时发现无法切换出中文输入法用 Fcitx config tool查看发现输入法表里面是空的最后发现是启动时fcitx进程没自动运行,加入自动运行后重启就正常了 阅读全文
posted @ 2015-08-08 11:18 elautoctrl 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: ## _*_ coding:UTF-8 _*___author__ = 'shanl'import win32apiimport win32conimport win32guifrom ctypes import *import timeVK_CODE = { 'backspace':0x08, 'tab':0x09, 'clear':0x0C, 'enter':0x0D,... 阅读全文
posted @ 2015-08-08 02:57 elautoctrl 阅读(814) 评论(0) 推荐(0) 编辑
摘要: from PIL import ImageGrabim = ImageGrab.grab()im.save("f:\\T.jpg",'jpeg') 直接用pyCharm安装PIL库没成功,于是在http://www.pythonware.com/products/pil/直接下载回来安装 获取RGB数组from PIL import Imageim = Image.open('f:\\T.jpg'... 阅读全文
posted @ 2015-08-08 02:48 elautoctrl 阅读(221) 评论(0) 推荐(0) 编辑