Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line 39 syntax error #25

Closed
liushawulan opened this issue Aug 19, 2020 · 2 comments
Closed

line 39 syntax error #25

liushawulan opened this issue Aug 19, 2020 · 2 comments

Comments

@liushawulan
Copy link

url = f'https://{self.http_host}/translate_a/single?client=webapp&sl=auto&tl={tl}&hl=en&dt=at&dt=bd&dt=ex&'
f'dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=sos&dt=ss&dt=t&ssel=0&tsel=0&kc=1&tk={tk}&q={qry}'
报这句语法错误。

@xinebf
Copy link
Owner

xinebf commented Aug 19, 2020

提示这一句有错误,可以先检查一下 Python 版本是不是在 3.7 以上.

@liushawulan
Copy link
Author

版本是3.8,可能是其他错误吧,暂时先放着,应该是我自己的问题。:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants