Skip to content

Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate)

Course Assignments

Module 1 challenge: Scale and convert images using PIL :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. Access images inside a ZIP file❌ Open directly in image viewer❌ Rename to .jpg✔️ Unzip using unzip images.zip❌ Delete and download individually 2. Python library for image manipulation❌ Fresco✔️ Pillow (Python Imaging Library)❌ Stencil❌ Canvas 3. Run Python script from command line✔️ chmod +x <script_name>.py to make executable❌ Save as .pyexe❌ Open in text… <a href="https://codeshala.io/platform/coursera/course/automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate/assignment/module-1-challenge-scale-and-convert-images-using-pil-automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module 1 challenge: Scale and convert images using PIL :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>

Module 2 challenge: Process Text Files with Python Dictionaries and Upload to Running Web Service :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. Python dictionaries✔️ Python dictionaries are ordered (since Python 3.7+)✔️ Python dictionaries are mutable❌ Python dictionaries allow duplicate keys✔️ Python dictionaries are indexed by keys 2. Data format for exchanging data❌ CSV❌ HTML❌ XML✔️ JSON 3. Primary purpose of a web framework❌ Design GUI for web apps✔️ Provide pre-built structure and components for web apps❌… <a href="https://codeshala.io/platform/coursera/course/automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate/assignment/module-2-challenge-process-text-files-with-python-dictionaries-and-upload-to-running-web-service-automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate-a/" rel="bookmark"><span class="screen-reader-text">Module 2 challenge: Process Text Files with Python Dictionaries and Upload to Running Web Service :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>

Module 3 challenge: Automatically Generate a PDF and Send it by Email :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. Overall purpose of reports.py❌ To create a PDF of the report❌ To print a report✔️ To format a report❌ To send a report 2. Step before running example.py❌ ./scripts/example.py❌ cat ~/scripts/example.py✔️ sudo chmod o+wx ~/scripts/example.py❌ ls ~/scripts 3. Fix “Permission denied” when running example.py✔️ Use the sudo chmod command to enable execution❌ Use nano… <a href="https://codeshala.io/platform/coursera/course/automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate/assignment/module-3-challenge-automatically-generate-a-pdf-and-send-it-by-email-automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module 3 challenge: Automatically Generate a PDF and Send it by Email :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>

Module 4 challenge: Automate updating catalog information :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025

1. Purpose of changeImage.py❌ Generates PDF reports❌ Uploads images to a web server✔️ Processes supplier images to change resolution and format❌ Sends error emails 2. Primary purpose of Python Imaging Library (PIL)❌ Database library❌ Machine learning framework❌ Web development tool✔️ Library for working with and manipulating images 3. Handling raw images with alpha transparency❌ Resize… <a href="https://codeshala.io/platform/coursera/course/automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate/assignment/module-4-challenge-automate-updating-catalog-information-automating-real-world-tasks-with-python-google-it-automation-with-python-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module 4 challenge: Automate updating catalog information :Automating Real-World Tasks with Python (Google IT Automation with Python Professional Certificate) Answers 2025</span></a>