In PyCharm, after I run a script it automatically kills it:
C:\\Users\\Sean.virtualenvs\\Stanley\\Scripts\\python.exe C:/Users/Sean/PycharmProjects/Stanl
Click Run -> Edit Configurations...,
Run -> Edit Configurations...
Then check the box Run with Python console.
Run with Python console