jupyter每行变量值显示 jupyter默认显示最后一个变量,可通过如下更改:from IPython.core.interactiveshell import InteractiveShellInteractiveShell.ast_node_interactivity = "all" 参看文档 python与人工睿智 2023-08-26 213 点赞 3 评论 322 浏览