python - The program after if statement is not exectuing -
i have problem escaping if, code looks more or less in python:
if answear == "yes": pylab.show() if anwear == "no": pylab.show() answear2= input("how you?") print ("i'm here")
the problem is statement works nicely after showing plot, new input not shown , neither printing. how possible? program stacks? in advance
the show method blocking in pylab. if close gui window, program continue.
if not want blocking, use multithreading (look @ threading module).
Comments
Post a Comment