dibis

dibis

V2EX 第 74898 号会员,加入于 2014-09-24 10:19:59 +08:00
根据 dibis 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
dibis 最近回复了
2019-02-19 22:26:44 +08:00
回复了 itgoyo 创建的主题 macOS Mac 使用 shift 快速实现中英文切换
@itgoyo 管用!非常的感谢。
2019-02-19 00:06:55 +08:00
回复了 itgoyo 创建的主题 macOS Mac 使用 shift 快速实现中英文切换
这是我的原始文件

https://gist.github.com/jnuc093/f8f63bffecf85013f7467ef9d9407067

不知道加到哪一行
2019-02-18 23:48:18 +08:00
回复了 itgoyo 创建的主题 macOS Mac 使用 shift 快速实现中英文切换
@itgoyo 噢看到了

~/.config/karabiner/karabiner.json 这个文件
2019-02-18 23:44:07 +08:00
回复了 itgoyo 创建的主题 macOS Mac 使用 shift 快速实现中英文切换
@itgoyo 我看到这个文件的内容了。但是这个文件写在哪?
2019-02-18 22:04:29 +08:00
回复了 itgoyo 创建的主题 macOS Mac 使用 shift 快速实现中英文切换
@itgoyo 你是说外置键盘。目前我没搞外置键盘,设置成右边 shift 键,右边的 shift 键,值是多少
2019-02-17 16:00:32 +08:00
回复了 itgoyo 创建的主题 macOS Mac 使用 shift 快速实现中英文切换
用了 sogou 输入法,在 sogou 英文输入的时候多出了个提示框比较麻烦。
于是中英文切换就用 ctrl+shift,当然这也操作没有单独按 shift 方便,正如文中所说确实有点其他的麻烦。
上面有人提到了单按和长按 shift 的解决方案,正在摸索中。
2018-12-06 22:26:39 +08:00
回复了 dibis 创建的主题 Python [ 爬虫入门问题 ] --如何爬取 ztree 树上节点,异步全部展开导出
下面要改成递归方法和叫错
2018-12-06 22:26:02 +08:00
回复了 dibis 创建的主题 Python [ 爬虫入门问题 ] --如何爬取 ztree 树上节点,异步全部展开导出
修改好了

with open("tmp/ztree.csv", "a") as csvfile:
writer = csv.writer(csvfile)
for num,e in enumerate(elementList,start=1):
writer.writerow([e.text])
try:
print(num)
print(e.get_attribute('innerHTML'))
e.find_element_by_class_name('center_close').click()
time.sleep(2)
#print(eparent)
#eparent.click()
except WebDriverException:
print("Element is not clickable")


print(e.text)
2018-11-25 10:19:15 +08:00
回复了 dibis 创建的主题 Python 不懂就要问:pyenv 设置 py 版本,然后 pip 安装 BeautifulSoup4 不认
(v365env) ➜ music163-spiders git:(master) ✗ pip install html5lib
Collecting html5lib
Using cached https://files.pythonhosted.org/packages/a5/62/bbd2be0e7943ec8504b517e62bab011b4946e1258842bc159e5dfde15b96/html5lib-1.0.1-py2.py3-none-any.whl
Collecting six>=1.9 (from html5lib)
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting webencodings (from html5lib)
Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Installing collected packages: six, webencodings, html5lib
Successfully installed html5lib-1.0.1 six-1.11.0 webencodings-0.5.1


(v365env) ➜ music163-spiders git:(master) ✗ pyenv versions
system
3.6.5
3.6.5/envs/v365env
* v365env (set by PYENV_VERSION environment variable)
2018-11-25 00:41:41 +08:00
回复了 dibis 创建的主题 Python 不懂就要问:pyenv 设置 py 版本,然后 pip 安装 BeautifulSoup4 不认
'''
➜ ~ pyenv versions
* system (set by /Users/qk/.pyenv/version)
3.6.5
3.6.5/envs/v365env
v365env
'''
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1395 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 17:33 · PVG 01:33 · LAX 10:33 · JFK 13:33
Developed with CodeLauncher
♥ Do have faith in what you're doing.