pycharm console In[]

Hi eveyrone, 

I would like to ask you how I can make the python console in pycharm look like this:

In[2]:

(check also attached file Upload ID: 2021_04_30_7Rsx282aNAQe9iDi)

In this way I can run python code and functions in the console like in matlab, for example run my_script.py

Currently my python console looks like 

>>> and when I try to run a command like >>> run my_script.py I get an error

File "<input>", line 1

   run my_script.py

                       ^

SyntaxError: invalid syntax.

 

Thank you in advance

 

1 comment
Comment actions Permalink

Hello, 

Please make sure the iPython package is installed https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html

and "Use IPython if available" is enabled in Console settings https://www.jetbrains.com/help/pycharm/console.html

0

Please sign in to leave a comment.