Building Robots with Python and Raspberry Pi
  • Introduction
  • Chapter1
  • Chapter2
  • Chapter3
  • Chapter4
  • Chapter5
  • Chapter6
  • Chapter7
  • Chapter8
  • Chapter9
  • Chapter10
Powered by GitBook
On this page
  • Python Installation
  • To find out whether the Microsoft Windows OS is 64-bit or 32-bit, do the following:
  • Putty
  • scp

Chapter1

PreviousIntroductionNextChapter2

Last updated 7 years ago

Python Installation

Python is free! You can download and install it from the official python web site: .

For Linux operating system, python is usually installed during OS installation. So, it’s ready to be used. Here, I will illustrate how to install python on a computer with Microsoft Windows Operating Systems: 1. Use your favorite browser to go to the above website. It should already show “Download the latest version for Windows”. If not, click on the “” link. 2. Select the latest released version (currently, ). Click on the link. 3. Based on the installed OS on your computer, you need to select the different installer files. At the end of this section, it illustrates how to tell the OS system currently installed on your computer. Once you figure out the OS system installed on your computer, click on the appropriate link:

a. For 64-bit OS, click on the .

b. For 32-bit OS, click on the .

  1. Once the installer is downloaded, click or double click on it to launch the installer. Then follow instructions. Install it at the default location and check the option to add python to PATH. To verify the installation is successful, you can launch a “cmd” window by typing “cmd” in windows start. In the “cmd” window, type “python” and you should see something similar to the following:

Now, we are in business. You can start using python. Try to type “3*5” and press enter and you will see “15” as the result. To exit python interactive mode, type “quit()”

To find out whether the Microsoft Windows OS is 64-bit or 32-bit, do the following:

  1. Open file explorer. Depending on the OS, the left pane of the file explorer will show “Computer” or “This PC” (see the following pictures):

    The above screenshot is from a computer with Windows 7 Installed. The left pane shows "Computer".

    The above screenshot is from a computer with Microsoft Windows 10 installed. The left pane shows "This PC"

  2. Right click on it and select “Properties” from the popup menu and you will see something similar to the following: The “system” section has an entry “System type” that tells you whether the current OS on the computer is 32-bit or 64-bit. In the figure above, it showed a 64-bit OS.

Putty

Download and install putty. This will be needed later to connect to the robot from Windows.

scp

Download and install scp for windows. This will be used later for copying files between windows PC and the robot.

https://www.python.org/downloads/
Windows
Python 3 Release - Python 3.5.1
Windows x86-64 executable installer
Windows x86 executable installer