WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.860 --> 00:00:12.160
Hi. In this video we will explore Jupyter Notebooks file browser.

1
00:00:13.770 --> 00:00:14.670
In our last video,

2
00:00:15.050 --> 00:00:19.550
we have stopped the Jupyter Server and with this we also stopped the

3
00:00:19.550 --> 00:00:24.350
container. So please start it again and log into the Jupyter again.

4
00:00:27.260 --> 00:00:31.410
Mice is already already running. And remember that we have, uh,

5
00:00:31.430 --> 00:00:36.050
mapped our repository folder on our host computer

6
00:00:36.350 --> 00:00:38.650
to the work folder in the container.

7
00:00:40.540 --> 00:00:42.680
And now we can see its contents

8
00:00:50.240 --> 00:00:54.100
And what we can everything do with our files and folders.

9
00:00:55.070 --> 00:00:58.400
We can see here upload button. With this,

10
00:00:58.740 --> 00:01:03.160
you upload directly a file from your host computer to the container

11
00:01:03.660 --> 00:01:08.000
or example. I now will upload this que file,

12
00:01:11.070 --> 00:01:14.530
click upload and it's already here

13
00:01:16.900 --> 00:01:21.190
with new button. We can create new notebooks

14
00:01:22.700 --> 00:01:23.410
here.

15
00:01:23.410 --> 00:01:28.390
We have available three types of notebooks depending on which kernel you

16
00:01:28.390 --> 00:01:29.223
would like to use.

17
00:01:30.400 --> 00:01:34.580
If you want to use notebook with Julia language with this one,

18
00:01:35.680 --> 00:01:40.670
the availability of kernels depends on which

19
00:01:40.710 --> 00:01:43.390
packages do you have installed. So for example,

20
00:01:43.530 --> 00:01:47.580
if you want to use Notebook with Scala,

21
00:01:48.480 --> 00:01:51.140
you have to install specific packages for it.

22
00:01:52.530 --> 00:01:55.910
Now I will create new notebook with Python kernel.

23
00:02:02.680 --> 00:02:03.110
Cool,

24
00:02:03.110 --> 00:02:07.770
new notebooks is created and here I will input some example

25
00:02:07.840 --> 00:02:08.673
text.

26
00:02:17.460 --> 00:02:21.210
Click shift enter the cell is executed. And

27
00:02:23.060 --> 00:02:25.350
Ctrl s you save the notebook.

28
00:02:29.230 --> 00:02:33.700
Don't worry about uh, how to work with the notebook. For now. Uh,

29
00:02:33.800 --> 00:02:37.860
we will explore it in more detail. In the next sections,

30
00:02:42.480 --> 00:02:43.940
we can create new files.

31
00:02:53.410 --> 00:02:54.860
Control s saves the file.

32
00:02:57.610 --> 00:03:02.560
We see that new notebook is already here and the new file is

33
00:03:02.560 --> 00:03:03.680
already here as well.

34
00:03:06.190 --> 00:03:11.160
We can create new folders here. Now, uh,

35
00:03:11.520 --> 00:03:13.160
untitled folder is created

36
00:03:15.710 --> 00:03:17.730
and we can launch new terminals.

37
00:03:25.500 --> 00:03:27.910
This is a regular Linux terminal,

38
00:03:28.250 --> 00:03:31.550
so for those of you who are familiar with Linux,

39
00:03:32.010 --> 00:03:35.910
you will know how to work with it. And for those of you who aren't,

40
00:03:36.290 --> 00:03:39.830
do not worry. We will learn the basics throughout the course.

41
00:03:49.170 --> 00:03:53.790
We can also duplicate, move,

42
00:03:55.160 --> 00:03:59.240
rename, download, view, and edit the files. So for example,

43
00:03:59.560 --> 00:04:02.960
I now will duplicate, uh, this file.

44
00:04:04.490 --> 00:04:07.470
I have to mark it, click duplicate,

45
00:04:09.700 --> 00:04:11.920
and a new copy of this file is created.

46
00:04:14.920 --> 00:04:16.100
We can rename this file.

47
00:04:25.850 --> 00:04:28.460
We can move this file, for example,

48
00:04:28.700 --> 00:04:32.660
I will move it into the untitled folder, which we created.

49
00:04:40.720 --> 00:04:41.553
Cool is here.

50
00:04:47.370 --> 00:04:50.310
We can download this file. So now with this,

51
00:04:50.330 --> 00:04:55.270
you will download this file from the container to your

52
00:04:55.540 --> 00:04:59.260
host computer. So it's already downloaded.

53
00:05:04.030 --> 00:05:07.880
We can view this file with this.

54
00:05:08.100 --> 00:05:11.680
You will see its contents on a new tab in the browser.

55
00:05:12.510 --> 00:05:17.400
This is useful for example, when you want to see H T M L files,

56
00:05:17.540 --> 00:05:21.730
for example. I will show you that.

57
00:05:22.450 --> 00:05:24.070
So now we will edit this file.

58
00:05:26.340 --> 00:05:28.340
I will have to change its name to

59
00:05:31.860 --> 00:05:33.630
some file html

60
00:05:37.800 --> 00:05:40.540
and I will just copy this, uh,

61
00:05:40.740 --> 00:05:43.060
H T M L code into this file

62
00:05:50.290 --> 00:05:52.110
and control as you save the document.

63
00:05:54.640 --> 00:05:58.840
So now when we click view, you will see it H T M L.

64
00:06:00.960 --> 00:06:01.793
Nice.

65
00:06:06.180 --> 00:06:08.400
And we can of course delete the files.

66
00:06:13.460 --> 00:06:16.120
You'll see this notebook which we have created

67
00:06:17.620 --> 00:06:21.920
has a green icon here. That means it's, uh,

68
00:06:22.200 --> 00:06:23.033
kernel is running.

69
00:06:23.780 --> 00:06:28.690
So we cannot rename this file yet. We have to shut it down.

70
00:06:31.870 --> 00:06:33.010
Now we can rename it,

71
00:06:55.450 --> 00:06:59.710
we can work with notebooks, uh, very similar to other files,

72
00:07:00.410 --> 00:07:02.510
but there is a difference that, uh,

73
00:07:03.290 --> 00:07:05.780
when you click view the notebook,

74
00:07:09.960 --> 00:07:13.530
this is the interface for editing the notebook.

75
00:07:13.670 --> 00:07:17.500
But when you click edit the notebook,

76
00:07:20.030 --> 00:07:23.530
you'll see it's raw data. So, uh,

77
00:07:23.760 --> 00:07:28.010
this basically tells you that notebooks are just, uh,

78
00:07:28.200 --> 00:07:32.570
json documents with, uh, for example, this text,

79
00:07:32.580 --> 00:07:37.170
which I included, and a lot of other metadata about, uh,

80
00:07:37.380 --> 00:07:39.170
cells charts and so on.

81
00:07:43.640 --> 00:07:47.470
Great, that was it for this section. In our next video,

82
00:07:47.730 --> 00:07:51.110
we will explore the Jupiter Notebooks file editor.
