jupyter notebook中运行python时打印失灵

jupyter notebook中运行python时打印失灵

在运行了一段代码之后

# import sys
# reload(sys) 
# sys.setdefaultencoding('utf-8')

虽然其他的代码可以运行,但是print函数无法正常使用。

解决方法及原因

发布了22 篇原创文章 · 获赞 3 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/helloworld987456/article/details/94410798