谢谢!
if eg.ccbox(a,b): #if后面为什么可以跟
pass #eg.ccbox(a,b)?
else:
sys.exit(0)
谢谢!
if eg.ccbox(a,b): #if后面为什么可以跟
pass #eg.ccbox(a,b)?
else:
sys.exit(0)
因为 eg.ccbox()时候返回值的,例如
if eg.ccbox(msg="yes or no", title="test", choices=("yes", "no"))
如果choices点的是左边的返回True,右边的返回False