Join Joe Marini for an in-depth discussion in this video Using the exercise files, part of Up and Running with Python.
If you're a member of the lynda.com online training library, then you have access to the Exercise Files used throughout this course. Just go ahead and download them and extract them, and put them in a place where it will be convenient for you to access them, while you go through the material. I've put the Exercise Files here on the desktop, so that they're easy to access. So let's open the folder and take a look at how they're laid out. You can see that the Exercise Files are organized according to the chapter that they correspond to in the course. So let's open one of the chapters.
Each Exercise File has a name either underscore start, or underscore finished. The underscore start version of that particular exercise, is the starting point that I will use to build toward the finished working version. The finished version right here, is the corresponding code in its finished state. Now, how you want to use these Exercise Files is, entirely up to you. If you want to use the underscore start version, and follow along with me as I build the finished version, that's great. If you want to just jump right ahead to the underscore finished version of the exercise, and see how everything works, that's great, too.
It's entirely up to you. Okay lets go back up to the Root folder. You'll also notice that I've included two examples snippets files. The ExamplesSnippets contain the code that I'm going to be Copying and Pasting throughout the course, to build the finished examples. That way, you don't have to sit there and watch me type. Now I've included two ExamplesSnippets here. The first one here is for Python 2.7, which I'll be using in the course. And I've provided a corresponding one, for Python 3. Now, the code that I'm going to be using in this course, pretty much works on both Python 2.7 and 3, but you have to make a couple of minor tweaks in a couple of places, and you'll see that as you go through the course, if you're using Python 3.
So, I'll be using the ExampleSnippets for Python 2.7. But wherever you see me using that, if you're a Python 3 user, just go to the corresponding place in the ExampleSnippets file for Python 3, and you'll be able follow along just fine. Okay, well, with that out of the way, we are ready to get coding.
- Installing Python
- Choosing an editor/IDE
- Working with variables and expressions
- Writing loops
- Using the date, time, and datetime classes
- Reading and writing files
- Fetching Internet data
- Parsing and processing HTML