Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Installing Python 3 and Eclipse for Windows


Python 3 Essential Training

with Bill Weinman

Video: Installing Python 3 and Eclipse for Windows

In this movie, we'll be installing Python and Eclipse on a PC running Windows 7. In here we have the Python download page. And I've already downloaded the Python 3.1.2 Windows X86 MSI installer. That's the 32 bit version. And even if you're on a 64 bit capable machine, I'm probably going to recommend that you run the 32 bit version, and we'll get to why in a moment. First we're going to look at the eclipse download page.
Expand all | Collapse all
  1. 5m 14s
    1. Welcome
      1m 32s
    2. Understanding prerequisites for Python
      2m 4s
    3. Using the exercise files
      1m 38s
  2. 33m 29s
    1. Getting started with "Hello World"
      4m 43s
    2. Selecting code with conditionals
      4m 45s
    3. Repeating code with a loop
      4m 13s
    4. Reusing code with a function
      2m 43s
    5. Creating sequences with generator functions
      2m 46s
    6. Reusing code and data with a class
      4m 39s
    7. Greater reusability with inheritance and polymorphism
      7m 17s
    8. Handling errors with exceptions
      2m 23s
  3. 22m 32s
    1. Installing Python 3 and Eclipse for Windows
      11m 24s
    2. Installing Python 3 and Eclipse for Mac
      11m 8s
  4. 28m 0s
    1. Creating a main script
      3m 27s
    2. Understanding whitespace in Python
      4m 8s
    3. Commenting code
      3m 28s
    4. Assigning values
      3m 37s
    5. Selecting code and values with conditionals
      4m 46s
    6. Creating and using functions
      3m 54s
    7. Creating and using objects
      4m 40s
  5. 31m 23s
    1. Understanding variables and objects in Python
      2m 46s
    2. Distinguishing mutable and immutable objects
      2m 41s
    3. Using numbers
      3m 34s
    4. Using strings
      6m 38s
    5. Aggregating values with lists and tuples
      4m 55s
    6. Creating associative lists with dictionaries
      4m 24s
    7. Finding the type and identity of a variable
      4m 45s
    8. Specifying logical values with True and False
      1m 40s
  6. 9m 42s
    1. Selecting code with if and else conditional statements
      2m 22s
    2. Setting multiple choices with elif
      2m 14s
    3. Understanding other strategies for multiple choices
      2m 38s
    4. Using the conditional expression
      2m 28s
  7. 11m 26s
    1. Creating loops with while
      1m 27s
    2. Iterating with for
      3m 54s
    3. Enumerating iterators
      3m 22s
    4. Controlling loop flow with break, continue, and else
      2m 43s
  8. 23m 28s
    1. Performing simple arithmetic
      2m 14s
    2. Operating on bitwise values
      3m 30s
    3. Comparing values
      3m 32s
    4. Operating on Boolean values
      2m 59s
    5. Operating on parts of a container with the slice operator
      6m 52s
    6. Understanding operator precedence
      4m 21s
  9. 11m 34s
    1. Using the re module
      1m 4s
    2. Searching with regular expressions
      3m 12s
    3. Replacing with regular expressions
      3m 29s
    4. Reusing regular expressions with re.compile
      3m 49s
  10. 9m 10s
    1. Learning how exceptions work
      1m 18s
    2. Handling exceptions
      4m 15s
    3. Raising exceptions
      3m 37s
  11. 23m 1s
    1. Defining functions
      6m 23s
    2. Using lists of arguments
      2m 26s
    3. Using named function arguments
      4m 32s
    4. Returning values from functions
      1m 55s
    5. Creating a sequence with a generator function
      7m 45s
  12. 47m 29s
    1. Understanding classes and objects
      5m 12s
    2. Using methods
      6m 12s
    3. Using object data
      10m 4s
    4. Understanding inheritance
      5m 11s
    5. Applying polymorphism to classes
      7m 13s
    6. Using generators
      9m 48s
    7. Using decorators
      3m 49s
  13. 18m 54s
    1. Understanding strings as objects
      3m 25s
    2. Working with common string methods
      5m 24s
    3. Formatting strings with str.format
      5m 31s
    4. Splitting and joining strings
      2m 49s
    5. Finding and using standard string methods
      1m 45s
  14. 25m 27s
    1. Creating sequences with tuples and lists
      4m 6s
    2. Operating on sequences with built-in methods
      5m 50s
    3. Organizing data with dictionaries
      4m 56s
    4. Operating on character data with bytes and byte arrays
      10m 35s
  15. 11m 46s
    1. Opening files
      2m 4s
    2. Reading and writing text files
      4m 33s
    3. Reading and writing binary files
      5m 9s
  16. 21m 27s
    1. Creating a database with SQLite 3
      6m 56s
    2. Creating, retrieving, updating, and deleting records
      7m 31s
    3. Creating a database object
      7m 0s
  17. 18m 27s
    1. Using standard library modules
      8m 0s
    2. Finding third-party modules
      5m 47s
    3. Creating a module
      4m 40s
  18. 23m 11s
    1. Dealing with syntax errors
      8m 19s
    2. Dealing with runtime errors
      4m 0s
    3. Dealing with logical errors
      4m 22s
    4. Using unit tests
      6m 30s
  19. 19m 56s
    1. Normalizing a database interface
      6m 39s
    2. Deconstructing a database application
      8m 9s
    3. Displaying random entries from a database
      5m 8s
  20. 29s
    1. Goodbye

please wait ...
Watch the Online Video Course Python 3 Essential Training
6h 36m Beginner Jul 29, 2010

Viewers: in countries Watching now:

Due to its power, simplicity, and complete object model, Python has become the scripting language of choice for many large organizations, including Google, Yahoo, and IBM. In Python 3 Essential Training, Bill Weinman demonstrates how to use Python 3 to create well-designed scripts and maintain existing projects. This course covers the basics of the language syntax and usage, as well as advanced features such as objects, generators, and exceptions. Example projects include a normalized database interface and a complete working CRUD application. Exercise files accompany the course.

Topics include:
  • A Python 3 quick start for experienced developers
  • Creating functions and objects
  • Using Python’s built-in objects and classes
  • Repeating code with loops and iterators
  • Understanding and using conditional expressions
  • Creating sequences with generators
  • Reusing code with objects and libraries
  • Handling errors with exceptions
Developer Web
Bill Weinman

Installing Python 3 and Eclipse for Windows

In this movie, we'll be installing Python and Eclipse on a PC running Windows 7. In here we have the Python download page. And I've already downloaded the Python 3.1.2 Windows X86 MSI installer. That's the 32 bit version. And even if you're on a 64 bit capable machine, I'm probably going to recommend that you run the 32 bit version, and we'll get to why in a moment. First we're going to look at the eclipse download page.

Eclipse is an integrated development environment, an IDE. It's written in Java, and it's designed for Java, but it works well with a number of languages. You'll notice that there's all kinds of different packages for different types of development work here on the Eclipse download page. Now, if you're doing development in Eclipse and you're using a different version of Eclipse, PHP version or the C++ version, or the Java version, that's fine. You can go ahead and use that and install the PyDev development environment inside of that and that will work just fine.

For my purposes, I'm using Eclipse Classic because I'm only going to be using it here as a Python development environment. And so we download the classic version and we install the Python tools on top of that. I've already downloaded the 32 bit version of Eclipse. Eclipse is written in Java and it requires the Java run time environment in order for it to run. Most PCs do not come with Java, so I've downloaded install Java and you will need to download an install Java before you install Eclipse.

Unless you have downloaded and installed the 64 bit version of the Java run time environment, and you know that you have that 64 bit version working, you're going to need the 32 bit version of eclipse. Because the default java run time environment on Windows, even for Windows 64 bit machines, so unless you know that you have the 64 bit version of Java, and you know you have that running, you're going to need the 32 bit version of Eclipse. And if you're running the 32 bit version of Eclipse, I suggest you also run the 32 bit version of Python cause it'll be running inside of Eclipse.

Now, this course is using Eclipse version 3.5 and I'm going to be showing you how to install Eclipse version 3.6. The reason for that is that the install procedure has changed a little bit with this latest version of Eclipse, and you're probably going to be downloading the later version. It works pretty much exactly the same as the other version, so you'll be able to follow along with the exercises. We're going to start by installing Python first. Come over here to my downloads folder. I'll go ahead and say yes. And I'll go ahead and install for all users.

And I'm going to accept the destination directory, the default destination directory. But I want to just make sure I know where that is. So that's off of the local disk C, and right off of there in Python 3.1. So I know where that is, and I'll go ahead and just install the default feature set. And this'll just take a few minutes. So there, we've installed Python. I'm just going to say finish there. So I'm just going to bring that up under Python. Pin the idle program under Python to my Start Menu by dragging it down here.

Pin to the Start Menu and come back up and click on idle. And there we have Python version 3.1.2 and that's exactly what we're looking for. We've now successfully installed Python. And now, we're going to install Eclipse. You're going to right click on the Eclipse zip file here and say extract all. And it's going to show the extracted files when complete, that's exactly what I want. So now it's extracting the files. And there we go. Now we have this folder inside of our downloads folder, this Eclipse folder.

And inside of that, there's one folder called Eclipse. And what I want to do is I want to move that into my programs files and I am going to put it in my X86 version here. And so I just drag this over and move to program files X86 and say continue. And then I open the program files X86 and open the Eclipse folder and there is my eclipse.exe. I'm going to right click on that and pin it to the start menu. And then when I come over here to the start menu, there it is.

So I'm going to close this. In the downloads folder, I'm going to go ahead and delete this empty folder here, cause that doesn't have anything in it. You see that's where we just moved something out of. So I'm going to go ahead and delete that. And I don't need this anymore and I don't need the browser anymore. And now we're going to run Eclipse and we're going to do some set up inside of Eclipse. So we'll accept the default workspace here. You can put it someplace else if you like. I'm just going to check the use this default and do not ask again.

And there is Eclipse. The first thing we're going to do here is come up to the help menu and install new software. Now we'll get this Available Software screen. I'm going to click on Add. And in here I'm going to type, PyDev, like that. And in Location, I'm going to give it, And I'll say OK. Here, I want you to open this up, this PyDev here. As long as you just see this one thing, PyDev for Eclipse, that's really all you want to have checked.

Under some circumstances, there are maybe another item, there was in some versions of PyDev that said PyDev Jingo Templates Editor, you want to make sure that's not checked and you don't want to check this Mylin either. In this case, because it's the only one, it's automatically checking the whole tree and that's okay because there's just the one thing in it. You want to make sure that you're just installing PyDev for Eclipse and not anything else. And now we get the review the items box here and we just say next because that's got the one item in it, which is exactly what we want. I'm going to accept the terms of the license and press finish.

We'll get this certificate acceptance, Apptha is the developer of this PyDev extension. So we'll select that and say OK. And now we're going to restart Eclipse. It gives the option here and it's just a really, really good idea to go ahead and restart it. So I'm going to select restart now. So now we're going to come to the Window menu and select preferences. First thing we're going to do, is we're going to configure the Python interpreter. So we come under the Pydev, and select interpreter Python. I'm going to need to extend this a little bit.

So we get all the menus there. And I'm going to say new. And I'm going to browse to Disk C and select Python 3.1 and there is the python.exe. Okay there. And type in here, Python 3.1. And say okay. And it goes and it finds all this other wonderful stuff and that's exactly what it needs to do. And I'm going to say OK from there as well. Before we go any further, there's just a coupe other things we want to configure here.

Under PyDev, we want to open up editor. And you'll see this one that says hover. And you'll notice that there's two options here. One of 'em says show doc strings and the other one is variables while debugging. And the doc strings one is the one that I'm going to uncheck. What this does is every time you hover over something in Python for more than a moment in your Python source code, it pops up the complete documentation for that thing. You're welcome to try it if you like. Under the general settings here, I'm going to open this one up, and I'm going to come down to editors and Text Editors.

And under Text Editors here, I'm going to check Show Line Numbers. That's something that I find very, very helpful. And I'm going to press OK, and it's going to go in and configure Python. Here under Perspectives, I'm going to select this, and I'm going to say Other and select the PyDev perspective, because that's what we're going to be using. And then I'm going to right click on Java and go ahead and close that cause we're not going to be using that. And just scoot this guy over, make it look really nice. And now we're going to configure our project.

Over here under the package explorer, I'm going to right click in that space there and say new project. And I'm going to select the PyDev project, open that up and next. And this project name will be called Python 3 central training. The grammar version is going to be 3.0 and the interpreter is going to be Python 3.1. And then we'll select Finish. And there's our project. And then, inside of our project. So I'm going to right-click on the project there.

I'm going to say New > Folder. And under New Folder here, I'm going to select Advanced and I'm going to select Link to alternate location, Linked Folder. And we'll browse for that. And now on my desktop here, you see the exercise files, that's what we're going to select. And I'll say okay. And now we're going to be linking to the exercise files, not copying it into a work space. We're actually going to be using the exercise files in place on our desktop. But it's going to show up inside of our project, and that's exactly what we want to have happen.

So I'm going to say finish. And there's all of our exercise files. So let's open up chapter two and find the one that says and double click on that. There we are. And now we have our Python code here inside of Eclipse. Now this is a little Hello World. And the whole purpose of Hello World, I'm sure you've seen it before, is to test your develop environment. You want to be sure that everything's working and you have the simplest piece of code so that that can effectively get out of the way while you pay attention to your development environment here.

So, we just installed a whole lot of new stuff, we want to make sure that that is working. And I am going to come up here to the top and I am going to click this run as and I am going to select Python Run and okay. And there is our results, hello world. That's all working. That means that Python is installed and working, that Eclipse is installed and working, PyDev is installed and working, the Python interpreter is configured and working properly, and the entire environment is working together.

So, we have now successfully installed all of that and we have a working development environment for Python in Eclipse

Find answers to the most frequently asked questions about Python 3 Essential Training .

Expand all | Collapse all
please wait ...
Q: The installation process for the PyDev Eclipse plug-in doesn’t work as described in the videos. What should I do?
A: The version of Eclipse used in the recording of Python 3 Essential Training was Eclipse 3.5.2 (Galileo SR2) and the version of PyDev was 1.5.7. Soon after recording, the Eclipse project was updated to version 3.6, called Helios. As of this writing, the current version of Eclipse is 3.6.1 (Helios SR1).
Around the same time as these updates were being released, the PyDev project was updated as well. As of this writing, the current version of PyDev is 1.6.2. If you are using these most recent versions, the procedure for installing Eclipse itself has not changed, but the process documented in the videos for installing PyDev may not work.

We will be releasing new versions of the videos soon, but the author has posted a document describing the new installation procedure at:
Q: How do you install the pydev-interpreter in Eclipse Indigo on Mac OS X Lion? It's significantly different than what's shown in the video "Installing Python 3 and Eclipse for Mac."
A: Since this course was publishing, there have been upgrades to Mac OS X and Eclipse. In this scenario, after installing Python and Eclipse and the Pydev interpreter, there is a different directory to go to when modifying the preferences. As instructed in the movie (at around 6:40) restart Eclipse and then go to Eclipse > Preferences and drill down to Pydev > Interpreter - Python in the sidebar. Click New and in the Select interpreter dialog that opens, click Browse.

The Open dialog box will open, but does not appear to display your hard drive. You must press and hold the Command+Shift+Period keys. This will display all hidden files on your system. Navigate to the new path ~/Library/Frameworks/Python.framework/versions/3.2/bin/python 3.2 and click Open.

You should be able to proceed normally from there.
Q: When I try to install PyDev, it's not showing up in the Available Software window.
A:  This can happen if the site is down.
    You can manually download PyDev from the web site, or from my site here:

    Installation is simple. I've included instructions on my web site above.
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Python 3 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Start your FREE 10-day trial

Begin learning software, business, and creative skills—anytime,
anywhere—with video instruction from recognized industry experts. provides
Unlimited access to over 4,000 courses—more than 100,000 video tutorials
Expert-led instruction
On-the-go learning. Watch from your computer, tablet, or mobile device. Switch back and forth as you choose.
Start Your FREE Trial Now

A trusted source for knowledge.


We provide training to more than 4 million people, and our members tell us that helps them stay ahead of software updates, pick up brand-new skills, switch careers, land promotions, and explore new hobbies. What can we help you do?

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.