admin管理员组文章数量:1125356
How to enter a multi-line command in %debug in a python Jupyter notebook?
If you try enter, ctrl+enter, shift+enter, alt+enter the first line will be executed, instead of going to a second line.
How to enter a multi-line command in %debug in a python Jupyter notebook?
If you try enter, ctrl+enter, shift+enter, alt+enter the first line will be executed, instead of going to a second line.
Share Improve this question asked 2 days ago Jens WagemakerJens Wagemaker 3743 silver badges16 bronze badges1 Answer
Reset to default 0You can try using semi-colon in a single line.
x = 5; y = x**2; print(y)
本文标签: debuggingHow to enter a multiline command in debug in a python Jupyter notebookStack Overflow
版权声明:本文标题:debugging - How to enter a multi-line command in %debug in a python Jupyter notebook? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736660206a1946375.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论