Python for Absolute Beginners Transcripts
Chapter: Appendix: Jupyter as your editor for this course
Lecture: Setting up jupyter lab as your editor

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's talk real quickly
0:01 about installing Jupyter Notebooks.
0:03 If you install Jupyter Notebooks
0:04 you're going to have to have Python already
0:06 Python 3, already set up and installed.
0:08 And then, you're going to run this command
0:10 in either the command prompt or in the terminal.
0:13 You're going to run
0:15 pip3 install --user --upgrade jupyterlab.
0:18 On Windows, you might have to emit the 3
0:21 depending on how you've installed it.
0:23 But I think pip3 will work
0:24 on both operating systems in the latest version.
0:27 So this is going to download Jupyter Lab
0:29 and all of its dependencies.
0:31 This, we talk more about pip later in the course
0:34 but if you want to set this up
0:35 this is how you do it.
0:36 So you got to run this command, we'll expand on it later.
0:38 Once you've done that
0:39 you should be able to launch Jupyter Lab
0:42 and the way you do that
0:43 is you type jupyter lab like so.
0:46 And here you can see what it's going to do
0:47 is it's going to start up a little web server
0:50 and it's going to go to this url
0:51 says down here access your notebook
0:53 open this in the browser.
0:54 But what's actually going to happen
0:55 is it's going to pop open automatically like this.
0:58 So you won't even typically have to
1:01 at least the first time, launch it.
1:02 It'll automatically launch itself.
1:03 So here you'll be logged in.
1:05 And to get started, you just click on a new notebook.
1:07 Make sure you click on Python 3.
1:09 And also when you type this command about jupyter lab
1:12 do that in the folder
1:14 that you would like to see on the left here.
1:15 The working directory.
1:17 'Cause when you say new Jupyter Notebook
1:19 it's going to create it in whatever folder Jupyter Lab was started from.
1:22 Okay.
1:23 Once you do this, you'll have Jupyter Lab up and running.
1:25 There's a file menu, or a menu at the top
1:28 that shows you how to do the things
1:29 and learn the hotkeys and get going.
1:31 Again, if you can use PyCharm Community
1:33 do that because it'll be a good match.
1:34 But if you want to get some exposure
1:36 with Jupyter and Jupyter Lab, that's good
1:38 especially if you're in the data science side of things.
1:40 So you can use this some of the time as well.