Question
Create a function that pulls a picture from a URL and creates a thumbnail saved on your local machine. Since this assignment specifies the picture
Create a function that pulls a picture from a URL and creates a thumbnail saved on your local machine.
Since this assignment specifies the picture should be saved as a "thumbnail," the full answer should include a function that decreases the image to a thumbnail size (saveThumbnail2). However, if the picture pulled from a URL was a thumbnail originally, your function should just save the image without resizing (saveThumbnail1).
Review the program presented in Ch. 13.2 Program 163, "Writing Programs to Generate HTML," of Introduction to Computing and Programming in Python.
Cut and paste your screen shots of the code for the assignment in a MS Word document; then cut and paste the screen shots after the program runs (executes) so that your output (results) can be validated.
Submit your assignment using the Assignment Files tab.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started