Something as simple as:
- Code: Select all
import matplotlib.pyplot as plt
import time
plt.ion()
plt.axis( [0, 1, 0, 1] )
plt.axes().set_aspect( 'equal' )
plt.show()
time.sleep( 1000 )
My problem is that I cannot kill this window. I've changed my keybinding to allow kill: true,
{ "keys": ["ctrl+shift+c"], "command": "exec", "args": {"kill": true} },
and it kind of kills the process, but python.exe stays running and the GUI window stays open. It seems the only way to kill the running process it from Task Manager.
Can you help me how to fix it? I'd like to have something similar to Shift + F2 in PyScripter, what could just kill these Python scripts.