how to make pycharm works like spyder

The pycharm works great, just I need one thing like spyder.
In spyder, after run the code, the console still opens and something imported or variables can be viewed there. More importantly, the code can setup the environment and I can run other codes without setup everything.

However, pycharm runs code in a console which I can't input, and after running the code, this console ends, meaning the environment is cleared. I have to setup everything in each python file again, it takes time.

So how can I keep pycharm running code in a same interactive console when I hit run button each time like spyder?
4 comments
Comment actions Permalink
The exact same thing is not available in PyCharm. You can run a Python console (Tools > Run Python console), though and load/execute code from there.
0
Comment actions Permalink
voted, thanks.
0

Please sign in to leave a comment.