Vous êtes sur la page 1sur 18

HOW TO DOWNLOAD AND 2014 Dr Wayne

INSTALL PYTHON FOR THE CIS122 Machuca


ISTM/CIS MHCC
CLASS
HOW TO INSTALL PYTHON | MACHUCA 2014 1
ACCESSIBILITY STATEMENT
This PowerPoint was checked for accessibility on April 16, 2015

(C) 2015 - DR. WAYNE MACHUCA / MHCC 2


1) KNOW YOUR O/S
Click on Start
Right click on Computer
Click on Properties

32-bit O/S

HOW TO INSTALL PYTHON | MACHUCA 2014 3


2) GO TO THE PYTHON DOWNLOAD PAGE
HTTPS://WWW.PYTHON.ORG/DOWNLOAD
Look for the version of Python that would work best for your computer.
For this conversation, we are using Python 3.4.1 on a 32-bit Processor

HOW TO INSTALL PYTHON | MACHUCA 2014 4


IN CHROME, THE .MSI APPEARS ON THE
BOTTOM OF THE PAGE
Or, you can look in your
Downloads folder

Double click it to launch

HOW TO INSTALL PYTHON | MACHUCA 2014 5


3A) WORK WITH THE SETUP WIZARD
Click Run
The Setup Wizard begins
Click Next >

HOW TO INSTALL PYTHON | MACHUCA 2014 6


3B) SELECT DESTINATION DIRECTORY
Change your destination
directory (where you want
Python to be stored), or click
Next > for the default location.

HOW TO INSTALL PYTHON | MACHUCA 2014 7


3C) CUSTOMIZE PYTHON 3.4.1
Stay with the defaults

Click Next >

Note: your computers security


may request confirmation that

HOW TO INSTALL PYTHON | MACHUCA 2014 8


3D) COMPLETE
Click Finish

HOW TO INSTALL PYTHON | MACHUCA 2014 9


4) GO TO START > ALL PROGRAMS
AND LOOK FOR YOUR NEW PYTHON LINK

HOW TO INSTALL PYTHON | MACHUCA 2014 10


5) IDLE IS YOUR IDE. CLICK IT

HOW TO INSTALL PYTHON | MACHUCA 2014 11


LETS TRY IT

At the >>> prompt enter:


print (hello world)

and hit Enter

HOW TO INSTALL PYTHON | MACHUCA 2014 12


CONGRATULATIONS. Lets try something
different

HOW TO INSTALL PYTHON | MACHUCA 2014 13


OPEN NOTEPAD
It will be in Accessories, or click
the Start button and enter
Notepad.
Once there, add the print
command as you did before

HOW TO INSTALL PYTHON | MACHUCA 2014 14


SAVE THE DOCUMENT TO YOUR DESKTOP AS
MYFIRSTPYTHON.PY

It should look like this on your


Desktop

HOW TO INSTALL PYTHON | MACHUCA 2014 15


IN IDLE,
Select File > Open
Navigate to your Desktop and
select
MyFirstPython.py
1

HOW TO INSTALL PYTHON | MACHUCA 2014 16


SUCCESS
After clicking Open, your
program will launch and the
results will appear as you see
here

HOW TO INSTALL PYTHON | MACHUCA 2014 17


THE END Welcome to Applications
Programming and Python

HOW TO INSTALL PYTHON | MACHUCA 2014 18

Vous aimerez peut-être aussi