Okay.
So in this case, as you can see I have my screen divided in one side.
In the left side I have the website Jupiter or which is where we can learn about Jupiter notebooks.
And if you click on install you will see that they are talking about Jupiter Lab, etc. etc. which is
the new thing we are going to to demo today.
And in the right side of the screen I have my terminal and in the terminal I am in the testing directory
which is a directory new directory I have created.
So here the first thing I'm going to do is I'm going to create a new virtual environment using pi env.
Okay, so I have created the new virtual environment.
Call my M444.
I clear the screen.
And now I'm going to activate this new, uh, virtual environment.
Okay, so now I have the new virtual environment activated.
If you see this.
Uh, this is just one confirmation.
We can clear the screen again, and now we can install Jupyter Lab in this new virtual environment.
So the installation is not super fast, but is fast enough for us to see it in action.
Uh, live.
So you will see it will immediately finish the installation.
Now we can clear the screen again and we can now open Jupyter Lab.
When you click on this instruction, you will see that Jupyter Lab is going to open in the browser you
have open.
And here you see first it has created a localhost 8889.
Okay.
So we are using a local server.
And here if you click here you can create a new notebook okay.
So we can.
Right, typical and executed.
If you want to change the name, save Notebook as my name.
Hey, here you can discard the untitled, but even if you discard it, it is going to still be here.
So you can delete it like this.
Okay, so if you click on this icon, you will open the directory you are in and you will see the different
notebooks you have there.
Okay.
So I'm going to close this now and I will open it again just to demo you how to open a notebook that
you have downloaded.
For example, each of the notebooks you have from the from the program, the attached materials.
Okay.
So the first thing I come back to the terminal.
Control C in order to shut down the server, I say yes.
Clear the screen.
And if I try to do something here, you are going to see that it says server connection error.
So I just going to close this okay.
And uh now I'm going to open it again from the terminal you see in the right side of the screen.
So Jupyter.
Lab.
So it opens again, as you can see.
And it it is opening in the last notebook I had opened.
But I can close this, you know, and and open.
Another one.
Okay.
A I can open several of them at the same time if I want.
Okay.
But the difference now is that I have tabs like this instead of having tabs in the browser like before
with Jupyter notebook.
So this is how Jupyter Lab works.
The only thing you need to remember is that if you have the Jupyter server open like this, you cannot
use the terminal in order to make other operations like like install new modules, whatever.
So if you want to use the terminal, what you are going to do, you come to the terminal and you open
a new window okay.
So open a new window of the terminal.
Go to the same directory and there you can well of course, uh, activate the virtual environment.
And then you can install more modules or do whatever operation you need you need.
So as you can see, it's very easy.
Uh, but we thought that since there was a little change, it was interesting to share this with you.