WEBVTT

00:00.000 --> 00:05.480
Let's talk about the prompt, understand what that is, and then we'll be able to

00:05.480 --> 00:09.040
start creating our Python environment. We'll be familiar enough with the

00:09.040 --> 00:15.800
terminal to understand what our commands, when we can execute our commands, and

00:15.800 --> 00:25.120
when we can't. Now, we've got our commands that we entered to the right

00:25.120 --> 00:36.200
here, and their response over here. But we know we can start typing in a

00:36.200 --> 00:41.880
command, and where our commands are, because of this prompt area. And this is

00:41.880 --> 00:48.160
some text that the computer is printing out in the terminal to say, here's the

00:48.160 --> 00:54.000
current situation. Here's your state. Now, what do you want to do with it?

00:54.240 --> 01:01.560
So let's talk about what this is. Now, it's a little different on Windows and

01:01.560 --> 01:06.400
Mac, but I'm going to type out approximately what it looks like on Windows. It

01:06.400 --> 01:14.040
should look on Windows something like this. It has the same base, and then it

01:14.040 --> 01:22.720
will say something like C, colon backslash, users backslash, your user name,

01:22.720 --> 01:30.400
for me, it's the user name, and for Noble Desktop. And then there'll be a

01:30.400 --> 01:34.840
little greater than symbol, and your cursor will be right there. So this is what

01:34.840 --> 01:42.120
your your prompt looks like by default on your on Mac OS, and here's what it

01:42.120 --> 01:47.120
looks like on Windows. And either way, your cursor will appear right after that.

01:47.120 --> 01:51.280
And that's how you know the terminals ready and waiting for you to enter a

01:51.280 --> 01:55.360
command. Let's talk about the different parts of this. There are two main parts

01:55.360 --> 02:03.440
that we'll concern ourselves with. One of this is this part over here that says

02:03.440 --> 02:11.200
base. That's actually telling you what Python environment you're currently

02:11.200 --> 02:16.960
working in. We're working in the base environment right now. And again, that

02:16.960 --> 02:21.680
appears on the start of the Windows one as well. And that tells you this is

02:21.680 --> 02:27.760
just the general all-purpose Python environment. And we'll get Python

02:27.760 --> 02:32.320
environment specific to data visualization in a little bit. Then after that we

02:32.320 --> 02:41.680
have on Mac OS, the user name for your account, and then an at symbol, and then

02:42.000 --> 02:48.800
the name of the computer you're on. In my case, nobles Mac Mini 5.

02:49.360 --> 02:58.400
On Windows, it's similar except, oh, and this symbol. And on Mac and Linux, this

02:58.400 --> 03:09.280
tilde means home means you're at your home. And on Mac OS, that home is pretty

03:09.280 --> 03:13.840
similar to what is on Windows. It means I'm in the home folder, the same one that

03:13.840 --> 03:18.560
has your desktop folder and your downloads and your documents and your

03:18.560 --> 03:23.280
pictures and videos folders, any of those. And if your basic comes with your

03:23.280 --> 03:31.440
hard disk folders, you're home folder. This symbol means home on Mac OS.

03:31.520 --> 03:39.680
So we have user name, computer name, and we're current directory, which in our

03:39.680 --> 03:44.000
case is just home, short into this home symbol. And then we have this little

03:44.000 --> 03:51.600
symbol meaning, okay, now start typing. Percent by default on Mac OS. Now on

03:51.600 --> 03:59.680
Windows, we have the same base meaning general Python environment. And then we

03:59.680 --> 04:05.680
have a slightly longer version of what the Mac OS said. Does not tell you what your

04:05.680 --> 04:12.160
username is, does not tell you what your computer name is, to skip this part

04:12.160 --> 04:18.240
entirely. And gives you a little bit more detail on your current directory,

04:18.240 --> 04:26.720
your current folder you're in. This is for Windows, the home folder. Specifically,

04:26.720 --> 04:31.680
it's on my C drive, which is your default like home directory, home part of

04:31.680 --> 04:38.480
your desk. And then the user's folder and then the end folder. Again,

04:38.480 --> 04:43.280
n for noble. And in that case, that's my username.

04:44.320 --> 04:49.520
So these are equivalent. I'm in my home folder. I'm in my home folder if it's on

04:49.520 --> 04:53.920
Windows. And then just like on Mac, when it's

04:53.920 --> 04:59.040
said percent symbol meaning, okay, now here's the symbol to separate your prompt,

05:00.240 --> 05:06.080
right, the prompt, then the percent symbol, then okay, now start typing your command.

05:06.080 --> 05:10.880
On Windows, it's here's all the prompt. And then there'll be a little greater than symbol

05:10.880 --> 05:14.960
in Anaconda prompt to say, okay, now you can start typing the new command.

05:17.120 --> 05:21.360
So that's the the prompt. And we're actually see all this information change to tell us what

05:21.360 --> 05:27.680
is the current state, what Python version are we working with, and what is our current directory.

05:27.680 --> 05:40.160
We'll see that change as we enter in the commands that will be entering in in the next part.

