Class 25 — Friday October 26
Trying out a new pillow
Pillow is software — Go try and figure it out — For a thousand words
Look both ways
Tent cards
- Do you need a new one?
Agenda
- Being functional
- Introduce Pillow for image generation and manipulation
- Being collaborative
Update
- Module url.py
- Now provides the ability to get photos into a Python program
Pillow
- Pillow is a library for creating and manipulating images in Python. Unlike the math library and others we have used, Pillow is not part of the standard Python install — you have to add it yourself.
- Pillow installation instructions are available.
Examples
- Module test-pillow.py
- Tests that the pillow module was successfully installed — a popup of Thomas Jefferson should appear.
- Program wahoo.py
- Lets you overlay a selfie with UVA orange and blue dots.
Friday night video
To do
- Preview next class
- Checkout past artistry highlights
© 2019 Jim Cohoon | Resources from previous semesters are available. |