fuck-login icon indicating copy to clipboard operation
fuck-login copied to clipboard

知乎myzhihu.py在Linux下打开验证码的问题

Open JackieMium opened this issue 7 years ago • 3 comments

os.startfile('checkcode.gif') 仅在Windows下可用,Linux下应该是类似于:

import subprocess, sys

opener ="open" if sys.platform == "darwin" else "xdg-open"
subprocess.call([opener, 'checkcode.gif'])

JackieMium avatar Apr 16 '17 03:04 JackieMium

嗯,你可以 Pull Request,做一个 windows 和 linux 兼容的操作。 @JackieMium

xchaoinfo avatar Apr 20 '17 11:04 xchaoinfo

@xchaoinfo 我不会Pull Request :(

JackieMium avatar Apr 20 '17 11:04 JackieMium

在Linux直接与shell交互

display info.jpg

这样就可以

ghost avatar Apr 27 '17 09:04 ghost