![](/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.