One last thing that I want to show you is how you can really use a style sheet for your Jupyter notebooks
because to be honest, I think opening this Jupyter notebook in this browser looks a bit ugly.
So we have this a white background, which is quite bright and I don't really like it so much.
But in the following of the course, I will, of course, continue just with the standard Jupyter notebook
in the browser so that everyone can follow along and has the same visuals as I have.
But if you don't like this style of the Jupyter notebook, I want to show you something.
So I open up a file that I have prepared previously, which is called notebook, underscore style.
So it doesn't really matter.
You can just open up a new notebook by clicking here.
New notebook.
And here we are.
And what I wrote there is two command pip space install space Jupiter themes, and this installs something
called Jupiter themes.
So you write this and then run it using Shift Enter, and then it is still running.
Now it gives you the output, which basically says for me that it's already satisfied because of course,
I have already installed it.
Then you go here and add a new cell that clicking on the plus and you type pip install minus minus upgrade
Jupiter themes, which updates the Jupiter themes.
Maybe this is not necessary, but it's better to do it.
So once again, it's tells me that all of this has been done already, and now we can use the actual
commands of Jupiter themes by writing exclamation mark JT for Jupiter themes minus L.
This is just a command which gives you all of the available themes that we can choose.
And, for example, a theme that I like quite a lot is called Monarch.
So I write exclamation mark j t minus T monarchy shift enter.
And here's something that could happen to you as well.
We have an error that we do not have the permission and to solve this error.
What we have to do is we have to restart Anaconda and run it as an administrator.
So I save this, I save this and then I just basically, yeah, we can just close it and maybe even
close.
The Anaconda Navigator quit.
Yes.
And now run it as an administrator.
So let's wait again a few seconds until Anaconda started.
So I'm just doing this because I want to show you that whenever you want to really install something
and change something, you must run Anaconda as an administrator.
However, if you're just writing some code and this is not necessary.
OK, so here we are again.
Let's sorry.
That's run Jupyter Notebook.
And you can see now it finally or it works already.
So you see the style looks different, so it has worked.
So let's open up again our notebook style and go here and you see how the style has changed.
And this is because we have run JT one.
Okay, and you see, this time it doesn't give us an error message.
You can, of course, also choose another option.
Like, I don't know, let's just test some of these or let's use the first one, just crash and to make
it work.
You click on refresh.
And then you see, once again, a different style.
So if you don't like all of these or you just want to have the same style as I have, you just right
acclamation.
Mark J.
T minus are to restore the default and then you just reload and everything is back to normal.
All right.
So this was just something that I wanted to show you to prove to you that you can really change the
visuals of this Jupyter notebook and also make it look more beautiful.
But now we really go back to the initial style.
And so in this way, it is most accessible for everybody.
So here we can also reload this, OK?
Here we are.
And another thing that I want to show you is that, for example, you can click on running and then
you see all of the files that are running.
So currently we only have the notebook style file running.
But for example, if I open up the old file, our first notebook and I run the whole kernel restart
and run all.
Then.
We have now two notebooks running, and this is even true if I close this one and refresh.
Still, both of them are running, which means I can now go here packed files and reopen them.
And so they are still open.
And if you want to close the file, so or better to say if you want to close the kernel, you can click
here on shut down kernel or you just click on closed to whole browser and then everything is closed
once you close or so Anaconda Navigator quit.
Yes, and everything is closed.
So this was a bit more information about Jupyter Notebook and in the next lectures, I want to explain
to you a bit more about Pi Charm and some other text editor that you can use to write Python Code and
also Jupyter notebooks in a more comfortable way.