Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interacting with program after execution

In PyCharm, after I run a script it automatically kills it:

C:\Users\Sean.virtualenvs\Stanley\Scripts\python.exe C:/Users/Sean/PycharmProjects/Stanley/Stanley.py

Process finished with exit code 0

How can I interact with the script after it starts? For lack of a better way to phrase it, how can I get the

>>>

prompt after the script runs once through?

  • PyCharm Community Edition 3.0
  • Windows 7
  • Python 2.7
like image 805
Robinson Avatar asked Sep 05 '25 17:09

Robinson


1 Answers

in Pycharm, Run/Debug menu choose Edit Configuration, check the box before 'Show command line afterwards'

like image 99
ling Avatar answered Sep 07 '25 18:09

ling