Python Jumpstart by Building 10 Apps Transcripts
Chapter: Welcome to the course
Lecture: OS X: Installing Python and PyCharm
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Hello my Windows friends! Let's get you all setup and ready to work on this class and build those ten applications.
0:07
And I have good news for you, until very recently, using Python on Windows has been actually fairly painful
0:13
to get it setup and everything configured right, but with Python 3.5 the installer and the setup process is way better. So let's get to it.
0:21
To get started you are going to need two resources on Windows, you are going to need to install Python 3, which you can get at Python.org,
0:27
and you are going to need to install PyCharm at jetbrains.com/pycharm. Let's go over to Windows 10.
0:34
Here is a brand new, completely fresh install of Windows 10 I just got form Microsoft,
0:40
and I've opened up the various web pages we are going to be working with. First thing we have to do is install Python,
0:44
and as I told you, there is no Python on Windows, if I open this up and I type Python, there is no Python. So, we have to download Python,
0:53
and we want 3.5 1 or whatever the latest version of 3 is and I've already actually downloaded it
0:59
so I won't click here, but you just click that, that's super easy. The other thing we need to download is PyCharm,
1:04
so here is PyCharm, it actually comes in two editions, the professional edition, or the community edition. You can pick either for this class,
1:12
the community edition is totally fine, the things you'll be missing are... you'll basically be missing on
1:16
web development and database management features from the professional edition,
1:21
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:28
you want something more light weight, you can use Atom, at atom.io, Atom is from GitHub it's pretty cool, I really like this editor,
1:35
you can see there is a little video here, I recommend you watch it, it's pretty hilarious. Sublime Text is also a super popular light weight editor,
1:42
and I told you about Visual Studio, so you can get Visual Studio community edition this is now a free, full-fledged version of Visual Studio,
1:50
and you can get Python tools for Visual Studio, plug this together, and you are doing pretty good. But, we are going to be using PyCharm in the class
1:57
so that's what I will setup here. Let's start by installing Python. So I've got it downloaded, and I'm going to run it,
2:05
now it has a couple of options in the installer, let's say if you are going to try to just type Python from the command line
2:12
or other tools like "pip" for installing packages, you will probably want to add this to your path.
2:18
And let's customize installation just to see what we get, we get documentation, "pip" which manages packages, we'll talk about that in our apps,
2:25
and we have the test suite and "py launcher" is really nice and we don't need to install it for all the users.
2:31
Let's go ahead and precompile standard library this will give us a little better perf, I really don't like this big long folder here
2:38
so this app data folder is hidden in Windows so it's kind of hard to discover where these are
2:42
so I am just going to put a Python folder directly in my user profile and then, in case you want to have 64 bit or 32 bit version of Python
2:51
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:03
All right, Python was set up successfully, let's close this and let's just find out,
3:06
if I type python --version which we should see 3.5 1 and... SURVERY SAYS? SUCCESS!!! Ok, Python is working, last thing to set up is just PyCharm.
3:20
So the installer is just a standard Windows installer, just sort of yes your way through, it's up to you whether you associate py files with it,
3:27
typically, I don't do that, but it's your call. Ok, it looks like we successfully installed PyCharm, that was easy, let's go and run it.
3:35
Brand new, nothing to import, now, normally I would log in with my JetBrains account, but for this purpose I'll just evaluate it, say ok, that's great.
3:44
The first time you launch PyCharm it will ask you what theme and keyboard scheme you want to use, I'll say Visual Studio keyboard theme,
3:51
and I like my code dark, I have the editors dark and the code text to be light, so I am going to pick the Dracula theme, pick which ever you like,
4:03
and there you have it, PyCharm is up and ready to roll! this brand new version of Windows 10 is ready to build our 10 apps
4:10
So without further ado... let's move on!