Using and Mastering Cookiecutter Transcripts
Chapter: System setup and installing Cookiecutter
Lecture: macOS Setup
Login or purchase this course to watch this video and the rest of the course contents.
0:00 Alright, let's talk about how to install the various tools, in Python on your operating system. So there is only two tools, two resources you need
0:09 to take this class outside the source code on the GitHub repository. One is, you're going to need Python 3, remember,
0:15 Python 3 does not come on OS 10, Python 2.7 does, but Python 3 does not, so you've got install that, as well as PyCharm, so let's go look at these.
0:26 I pulled up the websites that we're going to be working with, Python.org, this is where we get Python 3, PyCharm over here in jetbrains.com,
0:35 we're going to download PyCharm here and I also pulled up the other three options Sublime Text if you're interested in that,
0:41 Atom, you've got to watch this video, it's very funny, a great little lightweight editor; we'll come over here, download this, click,
0:47 just it defaults you to the latest of both Python 2 and Python 3 for your operating system, so pick this, download, save, I've already done that,
0:57 so let's go over here and see if I type Python, you'll get something, but you'll see that Python 2.7.10 comes up, if I type Python3
1:07 there is no Python 3, so let's install Python 3 and make sure everything is set up good there.
1:15 So this is what I got off Python.org, just click through, agree to whatever its going to make you agree to,
1:23 okay so Python is installed, let's just try a little trick again, we can even do a Python3 --version on the end, excellent,
1:32 so we have Python 3 installed, and it's the latest version. So, that is off to a good start. next, PyCharm,
1:38 when you just click download it gives us a choice between what version do you want,
1:42 do you want the professional or the community edition, this is up to you, I love this tool, I pay money for it, I am getting the professional,
1:49 the community is free, if you're wondering what the differences are just come back here to the main PyCharm page
1:55 and you can see it will show you that actually the Python features themselves there is not too much of a difference but the web development
2:01 and Python web frameworks and database stuff, that is only in the professional edition.
2:07 But, lucky for you, none of that is actually happening in this class so you can pick either of these that you wish.
2:12 Once you have it downloaded, you'll have a dmg disk image here, and I love their little installer here is the app, drag it over here,
2:19 wait a moment, and you should have PyCharm installed. Now, let's finish installing, we'll eject that and we are just going to run PyCharm.
2:27 First time it will warn you this came off the internet, be aware, yeah, we did that on purpose. Make sure you get it from right place.
2:37 And here is PyCharm, I've already run it before, but the first time you run it, it asks you for the settings,
2:43 I like mine at this dark theme so everywhere it asks you about colors, there is two places, you can say Dracula
2:48 if you want the same theme as me, or pick another one. The other two editors are just Atom, here is Atom nice and clean,
2:54 and Sublime Text, again, super small, super clean. Let me show you a technique that will be helpful for opening these projects
3:02 and basically work with Python projects in general. So here I have request masters, I got this off of GitHub,
3:08 this is the requests package and this is actually the source code so here you can see here is all the Python files, this is like the project based,
3:15 if I want to open this in PyCharm, I just drop it on here, this is a OS 10 only feature, but if I drop it like this, it will open the whole project,
3:22 you can see here is all the code that we need. You can do a similar thing for Sublime Text and you can do a similar thing for Atom.
3:31 So here is all the packages, same thing. So that is a really helpful tip if you're jumping from project to project
3:37 and you want to just open up this project, open up that after project, open up that before project, and so on,
3:44 I am sure you will find it useful throughout the class. Alright, that's it, this OS 10 system is ready to roll, ready to work on this class.