1 00:00:00,066 --> 00:00:02,199 2 00:00:02,200 --> 00:00:08,800 Hello and welcome to a video about getting started in Colab. First things first, the 3 00:00:08,800 --> 00:00:09,033 4 00:00:09,033 --> 00:00:14,699 website address for Colab is colab.research.google.com. 5 00:00:14,700 --> 00:00:17,133 6 00:00:17,133 --> 00:00:22,666 COLAB is a tool made by Google that helps us code in Python in our browsers. 7 00:00:22,666 --> 00:00:24,032 8 00:00:24,033 --> 00:00:30,166 All right so once you've reached the website and you're on the screen that looks something like this one the first thing we're going 9 00:00:30,166 --> 00:00:36,299 to do is actually click outside this box because what we want to do is make sure that we're actually signed into our correct 10 00:00:36,300 --> 00:00:42,533 Google account. Right now I'm in my personal Gmail account. That's not what we want. We want to make sure that we are in our 11 00:00:42,533 --> 00:00:48,499 UALR email address. Okay, now I'm 12 00:00:48,500 --> 00:00:48,633 13 00:00:48,633 --> 00:00:54,666 in my correct email address. You should have something that looks a little bit like this. You won't have all these 14 00:00:54,666 --> 00:00:54,699 15 00:00:54,700 --> 00:01:01,133 extra files. You will have a welcome to colab file which you can click and it will give you some information about colab. 16 00:01:01,133 --> 00:01:05,299 17 00:01:05,300 --> 00:01:11,166 To get started on your assignments you're going to need to create a new file though. So we're going to go to file 18 00:01:11,166 --> 00:01:11,532 19 00:01:11,533 --> 00:01:17,633 new notebook in Drive. And this will create a new notebook for us 20 00:01:17,633 --> 00:01:17,666 21 00:01:17,666 --> 00:01:24,032 in the Google Drive that we have set up on our UALR email account. Okay, 22 00:01:24,033 --> 00:01:24,399 23 00:01:24,400 --> 00:01:30,466 so right away you see we've got some options here for code and text. We have 24 00:01:30,466 --> 00:01:36,466 these same options down here plus code plus text. You can type in this code block. Now 25 00:01:36,466 --> 00:01:36,499 26 00:01:36,500 --> 00:01:42,600 I'm going to go ahead and make a variable called name and set it 27 00:01:42,600 --> 00:01:42,633 28 00:01:42,633 --> 00:01:48,899 to Lindsey. You'll learn more about creating variables in future videos in this series. Let's print 29 00:01:48,900 --> 00:01:54,966 that out. I'm going to click this button off to the side here that looks like 30 00:01:54,966 --> 00:02:01,132 a play button and it will run the code block that I just made. There 31 00:02:01,133 --> 00:02:01,166 32 00:02:01,166 --> 00:02:07,266 we go and we see the output is Lindsey. We told it my name is Lindsey to print the name and it went ahead and printed Lindsey 33 00:02:07,266 --> 00:02:07,866 34 00:02:07,866 --> 00:02:13,932 just like that, just that simple. Now if we wanted to add text for example if you 35 00:02:13,933 --> 00:02:13,966 36 00:02:13,966 --> 00:02:20,466 had an explanation that you wanted to give or if you wanted to make a note for yourself 37 00:02:20,466 --> 00:02:20,999 38 00:02:21,000 --> 00:02:26,966 or if you wanted to write something in APA style then this would be the way to do it. 39 00:02:26,966 --> 00:02:29,099 40 00:02:29,100 --> 00:02:35,000 We're just gonna say this is the text box. My name is Lindsey. 41 00:02:35,000 --> 00:02:35,800 42 00:02:35,800 --> 00:02:41,833 Okay now when I click out of 43 00:02:41,833 --> 00:02:41,866 44 00:02:41,866 --> 00:02:47,866 that it displays it just as text. If I need to edit this for some reason I can double click it 45 00:02:47,866 --> 00:02:47,899 46 00:02:47,900 --> 00:02:51,933 and I could make let's make Lindsey bold and 47 00:02:51,933 --> 00:02:54,399 48 00:02:54,400 --> 00:02:59,133 you can see how it sets it up that way but we have a preview over here for what it's going to look like 49 00:02:59,133 --> 00:03:00,666 50 00:03:00,666 --> 00:03:06,699 and there we go. Now Lindsey is bold. So let's say this is our assignment and we want to turn it in 51 00:03:06,700 --> 00:03:06,733 52 00:03:06,733 --> 00:03:12,833 now. What we'll do is go to file print Microsoft 53 00:03:12,833 --> 00:03:16,099 54 00:03:16,100 --> 00:03:20,500 print to pdf print again and we're 55 00:03:20,500 --> 00:03:23,933 56 00:03:23,933 --> 00:03:29,066 going to call it Carl LA assignment one which I already have one saved here so I'm just going to overwrite it. 57 00:03:29,066 --> 00:03:30,799 58 00:03:30,800 --> 00:03:37,433 This is according to the naming conventions that you have set up for your instructions in the assignment one. So just read those instructions 59 00:03:37,433 --> 00:03:37,466 60 00:03:37,466 --> 00:03:43,066 and follow the naming conventions there for tiling your assignments. It does count towards 61 00:03:43,066 --> 00:03:43,766 62 00:03:43,766 --> 00:03:49,932 your grade. Yes I do want to overwrite that in this case. Now you'll also want to save 63 00:03:49,933 --> 00:03:49,966 64 00:03:49,966 --> 00:03:56,466 your .ipynb file and it will be helpful to you if you give it the same naming 65 00:03:56,466 --> 00:03:57,599 66 00:03:57,600 --> 00:04:03,666 convention. We'll just say that this is assignment one and 67 00:04:03,666 --> 00:04:03,699 68 00:04:03,700 --> 00:04:09,200 I'm going to hit control s. Sorry, cancel. It will save on its own. 69 00:04:09,200 --> 00:04:16,000 70 00:04:16,000 --> 00:04:21,433 Once you have your file saved on your computer is a PDF file. You'll go to 71 00:04:21,433 --> 00:04:22,133 72 00:04:22,133 --> 00:04:28,599 the Wix website which is rbflynn4.wixite.com/statlab. 73 00:04:28,600 --> 00:04:29,400 74 00:04:29,400 --> 00:04:33,800 Under a assignment one, you'll go to submit assignment one. 75 00:04:33,800 --> 00:04:38,466 76 00:04:38,466 --> 00:04:42,166 Then you'll fill out this form, attach your file, 77 00:04:42,166 --> 00:04:48,532 78 00:04:48,533 --> 00:04:54,533 add your t number. This may be updated in the future to be your workday number. At 79 00:04:54,533 --> 00:04:54,699 80 00:04:54,700 --> 00:05:00,933 the moment, it is still a t number, but this may change later, just so you know. But once you've 81 00:05:00,933 --> 00:05:07,033 filled out this form, you just click the submit button. And once you've hit submit, you'll get a confirmation email from Wix letting 82 00:05:07,033 --> 00:05:07,066 83 00:05:07,066 --> 00:05:13,432 you know that you've submitted your assignment. And that's it. That's all you need to get started on assignment 84 00:05:13,433 --> 00:05:13,999 85 00:05:14,000 --> 00:05:20,100 one. Please go ahead and watch the first video for assignment one, and it will help you to understand how 86 00:05:20,100 --> 00:05:20,133 87 00:05:20,133 --> 00:05:26,333 to create variables. All right, have fun learning Python and happy coding.