Python Forum

Full Version: Jupyter and python terminal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am very new to python. We use jupyter notebooks since people find them easy to share and nice that some of the figures/plots are also part of the notebook.

As I use them as well, since I have to share with the colleagues, I find very very often that I miss a terminal of python. Where I can print fast, for example a data frame, or try few commands before pasting them in a cell of jupyter.

Right now I need to go through the gui, insert a new cell, write something and then execute the cell. If I now add in this extra cell one more command the output of the first command will be still visible, since is of course present at the cell.

Ideally a terminal running in parallel where I can use to try few things fast will be ideal.

Other alternative will be to use only an environment like spyder and then convert my file to notebook before distributing. This will not work though for the cases that colleagues give me a notebook file and they ask me to work further on that.

What do you do for your case? How do you write few commands fast to see what you get?
I would like to thank you in advance for your reply.

Regards
Alex
I would take a look at VSCode it's an excellent IDE, and jupyter can be run with a terminal.
on VSCode see: https://python-forum.io/Thread-VS-Code-from-start
On using jupyter from within VSCode see: https://code.visualstudio.com/docs/pytho...er-support

VScode will run on all popular OS and is an excellent (free) product
I am using Jupyter Lab and do like in attached screenshot.

If using classic Jupyter notebook then you can consider using scratchpad
Thanks... you saved me. I did not know that Jupyter Lab was already installed!

Great