Python for Entrepreneurs Transcripts
Chapter: Course setup and tooling
Lecture: Course setup on Linux
0:02 If you are using Linux, it's time to get your machines setup to take this course. Let's see what's involved.
0:10 Here we are in Ubuntu, and you can see I have the PyCharm page pulled up, so there is a couple of things we need to take this course,
0:17 we need Python 3, and we need PyCharm. As we get it farther into the course,
0:22 you'll see that there is some packages we need, we are also going to need Git,
0:25 but let's save installing that until later, this is what you need to get started. So, the first thing is to ask well, "do you have Python 3?"
0:32 Let's find out. If you just type Python --version, you'll see that that's Python 2.
0:38 That's cool, in Ubuntu, you can type "Python3" to run specifically Python 3 regardless of how your path is set up,
0:45 and let's see what do we get here. 3.5.2, that is the latest. So, it looks like we already have Python set up, that's great,
0:52 and if you have 3.5.1 or 3.4 something, that's fine, as long as it's basically a new version of 3.5, we'll be in good shape.
1:01 The other thing that we need to get is PyCharm so over here at jetbrains.com/pycharm I've got the page pulled up
1:07 and you can see it says "download now", and if we go to download it, there's actually two editions, the professional edition and the community edition.
1:15 Well, which one should you pick, what's the difference? If you go back to that first page, you can scroll down a little bit
1:20 and see there is a little comparison table here, all the Python features about code inspections and auto complete,
1:27 things like that are exactly the same between the two editions, for this class though, we are going to need a few extra things
1:32 that are not covered in the community edition, because we are doing web development and we are working with databases,
1:39 you will definitely want to use those features in addition to the Python web frameworks like Pyramid.
1:44 So, I strongly recommend you get the professional version, there is a 30 day free trial, if you want to buy it it's not too expensive,
1:51 as an individual you can either pay $89 or if you want you can just pay $8.90 a month for a couple of months,
1:58 as you go through this course, I think it's totally worth it. If for some reason you really don't want to use PyCharm,
2:03 you can get away with that, you can use Sublime text, this is also a highly capable editor, as you'll see,
2:09 there are quite a few features that PyCharm brings that Sublime text does not. Especially when you are newer, it will help you even more,
2:18 bur regardless of your experience level, I think PyCharm is a much better choice, nonetheless, you may want to use Sublime Text
2:24 or Atom is also a great Python capable editor from GitHub. So those are your choices for the editors. Now, we've got Python, we downloaded it,
2:33 I actually already downloaded it because it's kind of large, so let's go and install this.
2:38 Over here, we are going to uncompress it, and we'll just extract it here, so we want to take this folder and put it somewhere more useful,
2:45 I like to have this little bin folder over here, so we are going to move this over, I mean the name in here is not the best so let's rename it,
2:51 like the version number rather, so rename this, so we want to run this file, so if I double click it, obviously it's just going to open up the editor,
3:01 so let's go back to our terminal here, and we can try to run it like so, and it's going to go and launch, perfect.
3:09 Now, you may have to install the JDK, because PyCharm is based on IntelliJ, which that platform is a Java based application,
3:17 so if you try this and you get a Java error, just install the JDK by googling for whichever version it says that it needs and install that,
3:25 then you should be able to run this. The other thing is, this is nice that it's over here but when I close it, it goes away.
3:31 So we can come over here and say lock that to the launcher, that way when we close it, we don't have to have this thing open,
3:37 we can just re-launch it from here. Great, so this Linux box this Ubuntu box is ready to take this course,
3:43 we have Python 3 installed, by default, and we have PyCharm set up and ready to roll, so let's get to it.