1 00:00:00,000 --> 00:00:02,880 Throughout this course, you're going to see me taking some 2 00:00:02,890 --> 00:00:06,120 notes, and I'll leave little titles and stuff in here. 3 00:00:06,130 --> 00:00:09,240 And in the final notebooks, you're going to see a lot more 4 00:00:09,240 --> 00:00:12,620 organized code. And you can do the same thing that I do. 5 00:00:12,710 --> 00:00:15,830 So when you're in a cell like this, all you have to do is 6 00:00:15,830 --> 00:00:19,700 come up here and switch it from 'Code' to 'Markdown', or even a 'Heading', 7 00:00:19,700 --> 00:00:23,370 and in this case Jupyter is saying, "Jupyter no longer uses special 8 00:00:23,370 --> 00:00:25,400 heading cells. Instead, you use Markdown. 9 00:00:26,700 --> 00:00:30,200 Now if you're familiar with Git at all, or GitHub, 'README' files 10 00:00:30,240 --> 00:00:31,230 are 'Markdown' files, 11 00:00:31,650 --> 00:00:34,680 and in a 'Markdown' file you can have headers, 12 00:00:34,690 --> 00:00:37,410 you can have smaller headers, and you can actually see that 13 00:00:37,420 --> 00:00:42,190 this is getting smaller every time I add or remove one of 14 00:00:42,200 --> 00:00:46,000 these, and so 'Markdown' is very commonplace. 15 00:00:46,010 --> 00:00:48,700 And if you want to take really nice notes, you can Google 16 00:00:48,710 --> 00:00:51,130 'Markdown', and it's a very simple language. 17 00:00:51,140 --> 00:00:56,110 So one number sign when your cell is marked as 'Markdown' 18 00:00:56,400 --> 00:00:59,100 will be a large title. 19 00:01:00,400 --> 00:01:01,900 And then you can make a new line in here. 20 00:01:01,970 --> 00:01:04,750 And if you want to write some of your own code, but it should 21 00:01:04,760 --> 00:01:07,780 display as code and not actually activate as Python, you 22 00:01:07,790 --> 00:01:11,060 can use three back ticks, and then three back ticks at the 23 00:01:11,060 --> 00:01:15,500 end, and in here you could say 'print("Some code")', and 24 00:01:15,500 --> 00:01:19,700 'var =', I don't know, "Python". 25 00:01:20,900 --> 00:01:23,400 And then all you have to do is execute this cell. 26 00:01:24,900 --> 00:01:28,500 So if you run this cell, this is now formatted like code. 27 00:01:28,800 --> 00:01:31,380 You can always double click in there as well. 28 00:01:31,580 --> 00:01:35,600 And if you want to, you could put some "Lorem Ipsum" in here, 29 00:01:35,610 --> 00:01:37,160 and let's say you're talking about some code, 30 00:01:37,170 --> 00:01:40,250 you can do inline code, and you just use one back tick and 31 00:01:40,260 --> 00:01:41,240 another back tick there, 32 00:01:41,250 --> 00:01:43,250 and let's do one here and one here. 33 00:01:43,500 --> 00:01:48,100 And this, once we run this out, will actually look like 34 00:01:48,100 --> 00:01:49,200 it has code formatting. 35 00:01:49,200 --> 00:01:51,100 [no audio] 36 00:01:51,100 --> 00:01:55,000 And so in here we could write some Python script like 'print( 37 00:01:55,000 --> 00:01:57,940 "Welcome to Python for Everybody")'. 38 00:01:57,950 --> 00:02:00,280 And we can have this code actually execute. 39 00:02:00,280 --> 00:02:02,400 Now, this cell is a 'Code' cell. 40 00:02:02,400 --> 00:02:05,160 And below it, we can have some notes if we wanted to. 41 00:02:05,300 --> 00:02:08,699 Now, if you see any of my code and you want to write some 42 00:02:08,699 --> 00:02:11,199 of your own notes, you can always just click on this cell 43 00:02:12,600 --> 00:02:13,600 and go to 'Cell', 44 00:02:14,420 --> 00:02:16,070 not 'Cell', actually I meant 'Insert'. 45 00:02:16,080 --> 00:02:18,380 You can go to 'Insert Cell Above' or 'Below'. 46 00:02:18,380 --> 00:02:20,300 So let's go ahead and add a cell below, 47 00:02:20,340 --> 00:02:23,340 and let's change that style to a 'Markdown'. 48 00:02:23,560 --> 00:02:25,300 And in here we can write a note. 49 00:02:25,300 --> 00:02:30,600 "This is how we write a print statement in python". 50 00:02:30,600 --> 00:02:35,900 And then we could say, "ie `print("Hello")`. 51 00:02:35,900 --> 00:02:38,000 [no audio] 52 00:02:38,000 --> 00:02:40,600 And that actually didn't break on to two lines because 'Markdown' 53 00:02:40,600 --> 00:02:41,600 doesn't care for a single line. 54 00:02:41,600 --> 00:02:42,600 So you'll have to write two lines. 55 00:02:42,600 --> 00:02:44,700 But as soon as you execute that cell, it will put it on a 56 00:02:44,700 --> 00:02:45,900 new line for you, just like that. 57 00:02:45,900 --> 00:02:47,900 [no audio] 58 00:02:47,900 --> 00:02:52,500 Last but not least, you can also add links as well as pull quotes. 59 00:02:53,100 --> 00:02:56,800 So 'print("This is going to be a link 60 00:02:57,800 --> 00:02:59,000 (see below)")'. 61 00:02:59,090 --> 00:03:00,140 So that's some code. 62 00:03:00,150 --> 00:03:03,130 And let's go ahead and change this one to 'Markdown'. 63 00:03:04,400 --> 00:03:10,500 And we could say 'pythonforeverybody.com', or let's just 64 00:03:10,500 --> 00:03:15,500 really prove that this is going to be a proper link '[dot] com'. 65 00:03:16,000 --> 00:03:17,200 So that's hard brackets. 66 00:03:17,250 --> 00:03:18,320 That's going to be your text. 67 00:03:18,330 --> 00:03:21,640 And then in soft brackets, in parentheses, you could put 68 00:03:21,640 --> 00:03:26,200 '(https://pythonforeverybody.com)'. 69 00:03:27,200 --> 00:03:29,400 And as soon as you run that cell, this becomes a link, 70 00:03:29,430 --> 00:03:33,300 I can actually click it, open it in a new tab, and it has 71 00:03:33,300 --> 00:03:34,900 my text in there. So that's a link. 72 00:03:35,200 --> 00:03:39,000 We can also do pull quotes. "Pull quotes!". 73 00:03:40,040 --> 00:03:42,800 And let's go ahead and change this back down to 'Markdown'. 74 00:03:42,810 --> 00:03:46,760 And a pull quote starts with a greater than symbol in 'Markdown', 75 00:03:46,770 --> 00:03:48,350 not in Python, but in 'Markdown'. 76 00:03:48,660 --> 00:03:50,820 I can put some 'Lorem Ipsum' text in there, 77 00:03:50,830 --> 00:03:52,410 just 50 words of 'Lorem Ipsum'. 78 00:03:52,410 --> 00:03:54,900 Hit 'Enter'. And this looks like a pull quote. 79 00:03:54,900 --> 00:03:56,200 It's got a nice little border there. 80 00:03:56,260 --> 00:03:59,230 So as you progress through this course and you were looking 81 00:03:59,240 --> 00:04:02,570 through the interactive notebooks, don't forget that 82 00:04:02,580 --> 00:04:03,650 you can always go ahead, 83 00:04:03,660 --> 00:04:05,060 you can insert your own cells, 84 00:04:05,070 --> 00:04:06,650 you can delete the cells that I have, 85 00:04:06,650 --> 00:04:08,900 you can modify it, and really make it your own. 86 00:04:08,940 --> 00:04:11,100 You can add all sorts of notes as well, 87 00:04:11,110 --> 00:04:13,140 and they don't have to be formatted nicely. 88 00:04:13,150 --> 00:04:15,450 They can be in whatever format you like. 89 00:04:15,680 --> 00:04:19,940 And that is how we take notes beside interactive Python.