How to save the python scipts made on Python console in Pycharm?
<p>I have been writing scripts in Python console provided in Pycharm but now I need to save them on my desktop and run them at some later point. I can not happen to find any option to do so for the console scripts. </p>

<p>I don't think there is a way to save the contents of a console session within PyCharm (or any other editor that I know of). As @daladier pointed out in the comments, though, <a href="http://ipython.org/ipython-doc/stable/overview.html" rel="nofollow">iPython</a> may be what you are looking for. Using <a href="http://jupyter.org/" rel="nofollow">Jupyter Notebooks</a> which are based on iPython you can create interactive cells in notebooks that behave similar to the console.</p>

python pycharm