I am new to Python and use the Wing IDE to play with functions. One of the things I could find while browsing was how to forcefully terminate the Python shell while executing a command that will not be terminated any time soon. An example is:
import math
math.factorial(1000000)
I know in Visual Studio C ++, the Ctrl + C command, but what is the Python equivalent?
source
share