1
00:00:02,730 --> 00:00:03,120
Okay.

2
00:00:03,120 --> 00:00:08,460
So in this case, as you can see I have my screen divided in one side.

3
00:00:08,460 --> 00:00:15,660
In the left side I have the website Jupiter or which is where we can learn about Jupiter notebooks.

4
00:00:15,660 --> 00:00:21,120
And if you click on install you will see that they are talking about Jupiter Lab, etc. etc. which is

5
00:00:21,120 --> 00:00:24,810
the new thing we are going to to demo today.

6
00:00:24,810 --> 00:00:31,740
And in the right side of the screen I have my terminal and in the terminal I am in the testing directory

7
00:00:31,740 --> 00:00:34,650
which is a directory new directory I have created.

8
00:00:34,650 --> 00:00:42,300
So here the first thing I'm going to do is I'm going to create a new virtual environment using pi env.

9
00:00:54,770 --> 00:00:57,770
Okay, so I have created the new virtual environment.

10
00:00:57,770 --> 00:01:01,280
Call my M444.

11
00:01:02,740 --> 00:01:04,720
I clear the screen.

12
00:01:04,720 --> 00:01:09,610
And now I'm going to activate this new, uh, virtual environment.

13
00:01:16,300 --> 00:01:20,950
Okay, so now I have the new virtual environment activated.

14
00:01:20,950 --> 00:01:22,870
If you see this.

15
00:01:23,500 --> 00:01:25,990
Uh, this is just one confirmation.

16
00:01:25,990 --> 00:01:33,550
We can clear the screen again, and now we can install Jupyter Lab in this new virtual environment.

17
00:01:42,120 --> 00:01:49,230
So the installation is not super fast, but is fast enough for us to see it in action.

18
00:01:49,230 --> 00:01:50,850
Uh, live.

19
00:01:51,270 --> 00:01:56,880
So you will see it will immediately finish the installation.

20
00:01:56,880 --> 00:02:03,510
Now we can clear the screen again and we can now open Jupyter Lab.

21
00:02:06,610 --> 00:02:13,570
When you click on this instruction, you will see that Jupyter Lab is going to open in the browser you

22
00:02:13,570 --> 00:02:14,590
have open.

23
00:02:14,590 --> 00:02:21,040
And here you see first it has created a localhost 8889.

24
00:02:21,040 --> 00:02:21,400
Okay.

25
00:02:21,400 --> 00:02:23,410
So we are using a local server.

26
00:02:23,410 --> 00:02:29,050
And here if you click here you can create a new notebook okay.

27
00:02:29,050 --> 00:02:30,880
So we can.

28
00:02:36,720 --> 00:02:39,330
Right, typical and executed.

29
00:02:39,780 --> 00:02:45,840
If you want to change the name, save Notebook as my name.

30
00:02:47,760 --> 00:02:55,230
Hey, here you can discard the untitled, but even if you discard it, it is going to still be here.

31
00:02:55,230 --> 00:02:57,750
So you can delete it like this.

32
00:02:57,900 --> 00:03:04,590
Okay, so if you click on this icon, you will open the directory you are in and you will see the different

33
00:03:04,590 --> 00:03:06,330
notebooks you have there.

34
00:03:06,330 --> 00:03:06,900
Okay.

35
00:03:06,900 --> 00:03:15,360
So I'm going to close this now and I will open it again just to demo you how to open a notebook that

36
00:03:15,360 --> 00:03:16,380
you have downloaded.

37
00:03:16,380 --> 00:03:21,270
For example, each of the notebooks you have from the from the program, the attached materials.

38
00:03:21,270 --> 00:03:21,810
Okay.

39
00:03:21,810 --> 00:03:25,170
So the first thing I come back to the terminal.

40
00:03:25,960 --> 00:03:31,450
Control C in order to shut down the server, I say yes.

41
00:03:32,590 --> 00:03:33,940
Clear the screen.

42
00:03:33,940 --> 00:03:41,320
And if I try to do something here, you are going to see that it says server connection error.

43
00:03:41,320 --> 00:03:44,770
So I just going to close this okay.

44
00:03:44,770 --> 00:03:51,970
And uh now I'm going to open it again from the terminal you see in the right side of the screen.

45
00:03:51,970 --> 00:03:53,650
So Jupyter.

46
00:03:54,740 --> 00:03:55,520
Lab.

47
00:03:56,780 --> 00:03:59,960
So it opens again, as you can see.

48
00:03:59,960 --> 00:04:03,770
And it it is opening in the last notebook I had opened.

49
00:04:03,770 --> 00:04:08,030
But I can close this, you know, and and open.

50
00:04:08,830 --> 00:04:09,790
Another one.

51
00:04:10,240 --> 00:04:10,750
Okay.

52
00:04:11,140 --> 00:04:15,100
A I can open several of them at the same time if I want.

53
00:04:15,130 --> 00:04:15,340
Okay.

54
00:04:15,340 --> 00:04:23,230
But the difference now is that I have tabs like this instead of having tabs in the browser like before

55
00:04:23,230 --> 00:04:24,160
with Jupyter notebook.

56
00:04:24,160 --> 00:04:26,740
So this is how Jupyter Lab works.

57
00:04:26,740 --> 00:04:34,570
The only thing you need to remember is that if you have the Jupyter server open like this, you cannot

58
00:04:34,570 --> 00:04:41,110
use the terminal in order to make other operations like like install new modules, whatever.

59
00:04:41,110 --> 00:04:45,730
So if you want to use the terminal, what you are going to do, you come to the terminal and you open

60
00:04:45,730 --> 00:04:47,140
a new window okay.

61
00:04:47,140 --> 00:04:49,900
So open a new window of the terminal.

62
00:04:49,900 --> 00:04:57,640
Go to the same directory and there you can well of course, uh, activate the virtual environment.

63
00:04:57,640 --> 00:05:03,130
And then you can install more modules or do whatever operation you need you need.

64
00:05:03,130 --> 00:05:05,950
So as you can see, it's very easy.

65
00:05:05,950 --> 00:05:13,030
Uh, but we thought that since there was a little change, it was interesting to share this with you.

