Python for Entrepreneurs Transcripts
Chapter: Course setup and tooling
Lecture: Course setup on Windows

Login or purchase this course to watch this video and the rest of the course contents.
0:03 If you are using Windows, let's get it ready to build your business with Python. So the first question you might want to ask is:
0:12 "Do I have Python on my Windows machine?" And there is a very high probability the answer is no. But let's just verify.
0:20 So we can start by just typing "Python" and see what happens. Nothing, there is no Python. By default Windows does not include any form of Python,
0:28 which is unfortunate, but that's the case. The first thing we have to do is download Python.
0:33 And over here at Python.org we can choose the version 3, so Python 3 whatever the latest one of that is,
0:40 so I've actually already downloaded it, that's over here, so we can go ahead and install that, it's super easy, just run the installer,
0:47 I would certainly advise you to add Python 3 to the PATH and you probably want to customize this,
0:53 we don't really need it for all the users, but that's good. What else do we want? Why don't we go and precompile the library
1:00 that might make it a little faster, associate the Python files if we want and you'll notice that it's going to go into your user profile here
1:08 under the hidden AppData\Local folder, so I prefer to have it a little more discoverable for me,
1:14 so I am going to say "this is going to be Python and it's going to come here." So I can just come to my user profile and find it. All right, let's go.
1:29 Great, Python was installed, now let's see if we have it up here. We still don't have it and that might seem a little bizzare,
1:36 we added it to the PATH, we've installed it, but these prompts read the PATH from the system when they launch and they don't auto refresh.
1:43 So let's try again. This time I'll just ask for the version. Python 3.5.2. Perfect. So, Python is ready to roll on this machine.
1:52 The next thing we need to do is set up our editor. We are going to use PyCharm. We talked a little bit about why we are choosing it in the beginning,
2:01 but let's just go over here you can see if you hit download, and this is at jetbrains.com/pycharm, there is actually two options here,
2:09 we can use the community version or the professional version, if you go back to the original page, you'll see there is a "choose your edition" section
2:17 and it will show you what the differences are. And so, the main Python features - version control, auto complete,
2:24 things like that are identical between the editors, but, for this course you are going to need some of the pro features -
2:30 web development, Python web frameworks like Pyramid, as well as the database support. So you want to make sure you get the pro edition,
2:37 it comes with the 30 day free trial and if you want to buy it, as an individual, you can either get it for $89 a year or $8.90 for a month.
2:47 So, you could get just a month worth to try out this class, if you are going to take more than 30 days to get it finished,
2:52 I really recommend that you use PyCharm, the pro version, you'll see throughout the class why it's so much more powerful
2:59 than many of the other options. That said, if you don't want to use PyCharm, you don't have to,
3:04 you could use something like Sublime Text, this is a great editor, so you can get that at sublimetext.com
3:08 or Atom, at atom.io from GitHub, also a good, more lightweight editor. So, I already downloaded PyCharm because it's little big,
3:17 and let's just run that, there is really not to much to do here just got to decide how you want to either put it on your desktop
3:25 or associate with "py" files, things like that, and let it go. And, let's go and run it. When you first launch it, it will pop up this window
3:38 and ask you what hot keys you want and what theme, if you are on Windows, you probably want the Visual Studio hot keys
3:44 and if you want it dark, a dark editor like mine, that's how I like my code, then choose the Dracula theme,
3:50 otherwise you could probably just pick the default. All right, now we have Python and we have PyCharm,
3:55 this Windows 10 machine is ready to build a Python-based business.


Talk Python's Mastodon Michael Kennedy's Mastodon