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

print 和 write输出结果都有问题 #12

Open
BJdeBordeaux opened this issue Jan 26, 2021 · 0 comments
Open

print 和 write输出结果都有问题 #12

BJdeBordeaux opened this issue Jan 26, 2021 · 0 comments

Comments

@BJdeBordeaux
Copy link

Traceback (most recent call last):
  File "testEnglish.py", line 11, in <module>
    textfile.write(text)
TypeError: write() argument must be str, not coroutine

print则会显示内存地址,而不是文本
不管是在testEnglish.py还是我自己写的脚本中都有这个问题
多线程小白不知道怎么处理
提前谢谢

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

1 participant