WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.720 --> 00:00:08.280
Hi.

1
00:00:08.280 --> 00:00:13.140
In this video we'll learn more about Jupyter Notebooks configuration.

2
00:00:14.280 --> 00:00:18.220
You have probably noticed that in the Simple Notebooks interface,

3
00:00:18.520 --> 00:00:22.060
we do not see any way how to edit some configuration.

4
00:00:23.070 --> 00:00:27.840
This is because the configuration for Jupyter Notebook is stored in

5
00:00:27.840 --> 00:00:28.673
various files.

6
00:00:29.680 --> 00:00:32.890
Adjusting the configuration is for more advanced users.

7
00:00:33.590 --> 00:00:38.170
But even if you are a total beginner and you are starting to work with Jupyter

8
00:00:38.410 --> 00:00:42.850
Notebooks, I would like to tell you at least where and what to look for.

9
00:00:44.230 --> 00:00:46.330
Now, let's go to our Jupyter.

10
00:00:49.980 --> 00:00:54.370
First thing, which I would like to show you, is how to change the passport.

11
00:00:54.630 --> 00:00:59.470
That's the easy one. You just look out of the Jupyter server.

12
00:01:01.730 --> 00:01:05.860
Go to the logging page. And here at the bottom

13
00:01:07.540 --> 00:01:12.160
we set the new passport. Uh, remember that our token was docker

14
00:01:15.650 --> 00:01:16.950
and we set the new passport

15
00:01:27.190 --> 00:01:32.130
now to the more advanced part where we will change Jupyter configuration

16
00:01:32.200 --> 00:01:33.033
file.

17
00:01:33.190 --> 00:01:37.600
One thing which I do not like in the file browser,

18
00:01:38.180 --> 00:01:42.240
is that it is not showing hidden files and hidden folders.

19
00:01:43.530 --> 00:01:46.950
Uh, these are the files and folders starting with the dot.

20
00:01:48.840 --> 00:01:50.300
Uh, let's check it in the terminal.

21
00:01:56.470 --> 00:02:00.050
We see that in our home folder. There are a lot of hidden folders.

22
00:02:04.320 --> 00:02:08.620
Now let's check, uh, where are the configuration files stored?

23
00:02:09.520 --> 00:02:12.060
We can use two commands to get this information.

24
00:02:13.500 --> 00:02:17.050
First command is Jupiter with parameter parts

25
00:02:23.100 --> 00:02:27.990
Here. In addition to the folders where the configuration files are stored,

26
00:02:28.650 --> 00:02:32.030
we see also where other Jupiter data is stored.

27
00:02:33.530 --> 00:02:37.630
The configuration folders are ordered by precedents.

28
00:02:37.780 --> 00:02:41.670
That means if same option is set in multiple places,

29
00:02:42.090 --> 00:02:45.470
is value is taken from config with the highest precedents.

30
00:02:47.460 --> 00:02:51.320
Now let's print our current Jupyter Notebook configuration.

31
00:02:52.350 --> 00:02:56.760
We can do this with this command ru repeater notebook with

32
00:02:56.790 --> 00:02:58.160
parameter show config.

33
00:03:09.050 --> 00:03:09.370
We,

34
00:03:09.370 --> 00:03:14.110
our options taken only from one file from this one.

35
00:03:16.730 --> 00:03:20.950
If we did changes in multiple files, we will see them here as well.

36
00:03:21.440 --> 00:03:24.630
These changes were set in the definition of the docker image.

37
00:03:25.530 --> 00:03:29.630
Now let's go to the config folder with the highest precedents.

38
00:03:32.040 --> 00:03:32.890
This, this one

39
00:03:43.770 --> 00:03:46.310
we see here two configuration files.

40
00:03:47.120 --> 00:03:52.070
Let's open the Jupyter Notebook config PI with the nano

41
00:03:52.070 --> 00:03:52.903
editor.

42
00:04:02.410 --> 00:04:06.390
And the configuration, which we are looking for is the contents manager.

43
00:04:06.530 --> 00:04:11.120
Do all hidden now press F six, uh,

44
00:04:11.260 --> 00:04:15.760
to search for strings and input the text.

45
00:04:25.010 --> 00:04:29.420
Okay, we are here and now let's commend this line and, uh,

46
00:04:29.440 --> 00:04:30.820
change the value to True.

47
00:04:34.940 --> 00:04:38.900
Remember about the indentation because it is a Python script. Now

48
00:04:47.050 --> 00:04:50.580
press Ctrl O enter

49
00:04:52.900 --> 00:04:54.720
and CTL X to exit.

50
00:04:57.660 --> 00:05:00.760
We have to now to restart the container.

51
00:05:13.550 --> 00:05:15.600
Okay, and it seems it is working.

52
00:05:16.180 --> 00:05:18.560
We see here all of the hidden folders.

53
00:05:22.590 --> 00:05:25.970
And that is it for this video. Uh,

54
00:05:26.110 --> 00:05:30.570
you can find more about configuration of Jupyter Notebook and Jupyter Server in

55
00:05:30.810 --> 00:05:35.140
provided links. To summarize our module,

56
00:05:35.960 --> 00:05:40.500
we have learned how to work with the file browser. We used File Editor.

57
00:05:41.120 --> 00:05:43.700
We also got the basics about terminal.

58
00:05:44.960 --> 00:05:49.620
We learned the basics of Python environments and package management with

59
00:05:49.860 --> 00:05:50.700
Anaconda and pip.

60
00:05:51.840 --> 00:05:56.100
We installed our package for using Jupiter contributors extensions.

61
00:05:57.100 --> 00:06:01.520
We activated few extensions and we also learned how to change

62
00:06:01.830 --> 00:06:06.190
Jupiter's configuration. In our next video,

63
00:06:06.650 --> 00:06:11.550
we will learn how to work with the notebook finally, and we will start,

64
00:06:11.770 --> 00:06:13.710
uh, with exploring its interface.
