![](/img/trans.png)
[英]In the Python debugger pdb, how do you exit interactive mode without terminating the debugging session
[英]python:how to exit if block during interactive mode
只是玩Python,这是交互式模式的一个小问题。
脚步:
问题:如果在交互模式下进行如下阻止和写操作,我如何退出:
flag=True
if flag:
print("flag is True")
print("exit if now ")
在交互式模式下,按两次Enter将退出if块
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.