How to Set Up a Chromebook for Python with VS Code

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi YouTube Tim unkert from uncerteducation.com here in this video we're going to set up a Chromebook for Python Programming using visual studio code but first if you like videos like this where I show you how to set up Chromebooks or install software and Chromebooks and windows then make sure to subscribe okay with that out of the way let's get started the first thing I want to do is enable the Linux development environment so I'm going to go over here to my launcher on the left here and if I don't see settings I would search for settings but I see my settings so I'm going to click on that and then once settings opens up if I go down the left here I see Advanced so I can click on advanced and then I can scroll on down to developers I'm going to click on that and from here we can turn on the Linux development environment so I'm going to click turn on and then next and it's going to give me a username based off my email you can change that right now but once you install this make sure you you've got a username you like and then a disc size and they give me a recommended disk size and I can change this either now or later so disk size we can change later on username I think is pretty much set in stone once you set it I'm going to keep both the same and click install and that's going to take a few minutes to go ahead and install so once that's done I'll come on back okay once the Linux development environment is enabled a terminal will pop up I'm going to maximize this and increase the font size so you can see what I'm doing here and I want to make sure first off that everything is up to date and I can do that by typing sudo app get update then two ampersands for and and then sudo apt get dist Dash upgrade and I'll do a dash y to answer yes to the additional space I'll hit enter this will take a few moments so I'll come on back once that's done okay once everything's up to date what we want to do is well I'm going to do control L to clear it out so you can see what I'm going to type we want to make sure the gnome key ring is installed at the time this recording the vs code website recommends that you do install that before you install vs code and it's pretty small so I'm just going to type sudo apt get install gnome Dash key ring and do a dash Y flag to answer yes to the additional space I believe it's around 11.9 megabytes so I'm going to hit enter and it's going to run through okay once that's run through we're pretty much done with the terminal I like to right click and pin the terminal to my shelf because I'll probably use that at some point anyways when I'm programming I'm just going to close this out and we can close out our settings at this point as well okay so I'm going to go to uh Chrome and open up a window here just open up a new okay so I'm going to open up a new browser here and what I want to do is I want to search for vs code and the first site that will come up and the site you need to go to is code.visualstudio.com I'm going to click on that now I have in Intel AMD based Chromebook so this will work on that if you have an Arm based Chromebook you may have to do something slightly different I'm going to download the dot Dev file here I don't have any base Chromebook so I can't speak to that and once that downloads we can go ahead and we can install vs code okay once um that downloads we'll get this message to show it in the folder and we can click on that or you can just find it in your downloads folder uh so I've got this file here I'm going to right click on the dot Dev file and click install with Linux it's going to load up the information I'll click install and ok so once this is installed I can close this out I can close the file explorer out and I can open up my launcher and I can pin the icon for vs code to the Shelf here so I can open vs code this way I'm actually going to go back open up the terminal here and let me make this a little bit larger so you can see what I'm doing and I'm going to make a directory for my python programs I'm going to do mkdir Python and then I'll change directory CD into python here and now I can open up vs code in that folder by doing code Dot and hitting enter okay it's going to ask me if I trust the authors I'm going to say yeah trust the authors of the files in the parent folder um and say yes I trust the authors uh and then let's just expand this now it may want me to go through this setup here I'm just going to mark all this stuff done keep it the default theme and we're in that folder in that python folder so I can create a file uh with this new file icon here I'm just going to create a file and call it main dot pi and hit enter okay now once I do that it's going to say do you want to install the recommended python extension from Microsoft for Python language I'm going to click install yes I do and that's going to take a few moments and go ahead and install so once that's done I'll come on back okay now you can run through all this stuff here I'm going to actually close this out so now we have that python extension installed and I'm going to do control comma to bring up the settings so I can just increase the font size so you can see this a little bit better okay and let's make the font size like 25 nice and big right okay cool all right so now let's create a Python program a simple hello world program just to test it out by the way I should note when you install the Linux development environment uh at the time this recording you install python 3.9.2 I believe but you do have python3 installed so we don't have to do that so it's pretty nice so I'm going to type print and let's just uh print hello world uh and do something like my name is Tim we'll make a advanced hello world program okay and we'll do a new line here let's save that and now we can run it by just clicking on this Arrow here play button and you see Hello World my name is Tim down here so congratulations you got uh your Chromebook set up for python with a vs code and you can start programming Python and explore the wonderful world of python if you like this video please give it a like And subscribe to the channel thanks
Info
Channel: Unkert Education
Views: 18,722
Rating: undefined out of 5
Keywords: how do you set up a chromebook for python programming, how do you set up a chromebook for python programming with vs code, can you set up a chromebook for python, Unkert Education, unkerteducation.com
Id: fM6Cv9Wm0vw
Channel Id: undefined
Length: 7min 1sec (421 seconds)
Published: Sun Jul 02 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.