Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jupyter and python terminal
#1
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
Reply
#2
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
Reply
#3
I am using Jupyter Lab and do like in attached screenshot.

If using classic Jupyter notebook then you can consider using scratchpad

Attached Files

Thumbnail(s)
       
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply
#4
Thanks... you saved me. I did not know that Jupyter Lab was already installed!

Great
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  invoking python in Terminal Euler 2 591 Aug-25-2023, 06:17 AM
Last Post: perfringo
  Launch Python IDLE Shell from terminal Pavel_47 5 1,143 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
Thumbs Up Python 3 Jupyter notebook ternary plot data nicholas 0 897 Jan-21-2023, 05:01 PM
Last Post: nicholas
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 1,034 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  Help Python vs Jupyter futureofAI 2 1,542 Oct-17-2021, 09:45 AM
Last Post: futureofAI
  Dynamic Printing With Python Terminal MrTim 2 2,824 Jul-06-2021, 04:00 PM
Last Post: MrTim
  Running latest Python version on the Terminal (MAC) Damian 4 2,591 Mar-22-2021, 07:58 AM
Last Post: Damian
  keyboard module doesn't work in the microsoft version terminal of python. username 1 2,747 Feb-25-2021, 05:19 PM
Last Post: Larz60+
  gnome terminal playing with python jmex 12 6,026 Feb-03-2021, 01:38 PM
Last Post: Axel_Erfurt
  Refresh data in python script while running in Terminal frankenchrist 4 7,105 Feb-03-2021, 09:54 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020