Class 31 — April 6
Life is surprising
Picture a pillow — Python Imaging module — Pillow for pictures
Zoom
Look both ways
Agenda
- Live and learn
- Sneak in functions are first class in Python
- Install Pillow on your machine
Downloads
- Program cheer.py
- Program my_head_hurts.py
- Module translate.py
To do
- Examine pillow library
- Complete homework 26
- Review past homework solutions
Python mechanism for optional parameters
- As part of the function definition can have default inititalization
- Optional parameters must be given at the end of the parameter list
- Consider cheer.py
Problem at hand
- Module translate.py to support text translation.
- Some sample translation text phrases
links
est la baguette fraiche
dubailte dubailte kesusahan und guaio
umlilo adolebitque und ketel bombolla
umucu di una pantanoso neidr
dans der ketel bouyi und cuire
oog di tritons und kaki di rano
yun di fledermoyz und lingua di chien
viperae foarke und blyn cuc stik
moo fotur und ovlet tis
pre eng viehatys di voimakas guaio
mag un inferno salda bouyi und bombolla
© 2020 Jim Cohoon | Resources from previous semesters are available. |