Using and Mastering Cookiecutter Transcripts
Chapter: System setup and installing Cookiecutter
Lecture: Windows setup

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Hello my Windows friends, let's get you all set up and ready to work on this class, and I have good news for you-
0:07 until very recently, using Python on Windows has been actually fairly painful to get it set up and everything configured right,
0:13 but with Python 3.5 the installer and the set up process is way better, so let's get to it.
0:19 To get started, you're going to need two resources on Windows, you're going to need to install Python 3 which you can get at Python.org,
0:26 and you're going to need to install PyCharm at jetbrains.com/pycharm Let's go over to Windows 10, here is a brand new,
0:34 completely fresh install of Windows 10 I just got from Microsoft, and I've open up the various web pages we're going to be working with;
0:41 first thing we have to do is install Python and as I told you, there is no Python on Windows, if I open this up and I type Python there is no Python.
0:50 So we have to download Python, and we want 3.5.1 or whatever the latest version of 3 is and I've already actually downloaded it,
0:57 so I won't click here, but you just click that, that's super easy, the other thing we need to download is PyCharm, so here is PyCharm,
1:03 it actually comes in two editions, the professional edition and the community edition,
1:08 you can pick either for this class, the community edition is totally fine, the things you'll be missing are you'll basically be missing out
1:15 on web development and database management features from the professional edition,
1:19 and the community for straight pure Python has the same features as professional. If for some reason you don't want to use PyCharm,
1:26 you want something more lightweight, you can use Atom, at atom.io, atom is from GitHub, it's pretty cool,
1:31 I really like this editor, you can see there is a little video here, I recommend you watch it, it's pretty hilarious,
1:37 Sublime Text is also a super popular lightweight editor and I told you about Visual Studio so you can get Visual Studio community edition,
1:45 this is now a free full-fledged version of Visual Studio, and you can get Python tools for Visual Studio,
1:51 plug this together and you're doing pretty good. But, we're going to be using PyCharm in the class,
1:56 so that is what I will set up here. Let's start by installing Python. So I've got it downloaded, and I'm going to run it,
2:04 now it has a couple of options in the installer, let's say if you're going to try to just type Python
2:10 from the command line or other tools like pip, for installing packages, you probably want to add this to your path and let's customize installation
2:18 just to see what we get, we get documentation pip which manages packages, we'll talk about that in our apps, and we have the test suite
2:24 and py launcher is really nice, and we don't need to install it for all the users. Let's go ahead and pre compile the standard library,
2:32 that will give us a little better perf, I really don't like this big long folder here, so this app data folder is hidden in Windows,
2:39 so it's kind of hard to discover where these are so I am just going to put a Python folder directly in my user profile
2:44 and then in case you want to have a 64 bit or 32 bit version of Python
2:49 or maybe different types 2.7, 3.5 you probably want to leave this specifier here, that seems like a good setup, let's go.
3:01 Alright, Python was set up successfully, let's close this and let's just find out, if I type python --version
3:07 we should see 3.5.1 and survey says, success, okay, Python is working. Last thing to set up is just PyCharm.
3:14 So the installer is just a standard Windows installer, just sort of yes your way through, it's up to you
3:23 whether you associate py files with it, I typically don't do that but it's your call. Okay, so it looks like we successfully installed PyCharm,
3:31 that was easy, let's go and run it, brand new, nothing to import, now, normally I would log in with my JetBrains account,
3:38 but for this purpose I'll just evaluate it, say okay, that's great, the first time you launch PyCharm it asks you what theme
3:45 and keyword scheme you want to use, because this is Windows, I'll say Visual Studio keyboard theme and I like my code dark,
3:51 the editor is dark and the code, text to be light, so I am going to pick the Dracula theme, you pick whichever you like.
3:58 And there you have it, PyCharm is up and ready to roll. This brand new version of Windows 10 is ready, so without further ado, let's move on.


Talk Python's Mastodon Michael Kennedy's Mastodon