I have a very simple problem. I am trying to use Sublime Text 2 for Python development and I'm writing a program where it calls a matplotlib GUI window.
Something as simple as:
import matplotlib.pyplot as plt
plt.axis( [0, 1, 0, 1] )
plt.axes().set_aspect( 'equal' )
time.sleep( 1000 )
My problem is that I cannot kill this window. I've changed my keybinding to allow 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.