Outline for October 1, 2020
Reading
: §1
Due
:
Homework 1
, due October 15, 2020
About the class
Instructor
Class web site, handouts
Zoom meetings, attendance
Canvas, backup web site, and submitting homework
Homework, grading, and extra credit
Python
What is Python?
Why Python for this class?
Programming environments
Python, files and shells
Python: programming
language
that you use to tell the computer what to do
Shell: what you can type Python statements directly into, to see what they do
IDLE: the program that
interprets
Python statements (executes the Python program)
File: type Python statements into this, and then have IDLE execute those statements by running the program in the file
More powerful IDEs: PyCharm, Eclipse
Notebooks: Jupyter
First program: hello, world [
helloworld.py
]
Explain printing
Demonstrate program in IDLE
How to write a program; example is making change [
change-write.py
]
Goal and general algorithm idea
Representing data and basic program structure
Translating this into a programming-like language
Translating that into Python
Defensive programming and debugging
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu
MHI 289I, Programming for Health Informatics
Version of September 30, 2020 at 11:51PM
You can also obtain a PDF version of this.