Skip to content

pauloft/automating-real-world-tasks-with-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automating-real-world-tasks-with-python

PROJECT 1 - Scale and convert images using PIL

Introduction Your company is in the process of updating its website, and they’ve hired a design contractor to create some new icon graphics for the site. But the contractor has delivered the final designs in the wrong format — rotated 90° and too large. Oof! You’re not able to get in contact with the designers and your own deadline is approaching fast. You’ll need to use Python to get these images ready for launch.

What you’ll do Use the Python Imaging Library to do the following to a batch of images:

  • Open an image
  • Rotate an image
  • Resize an image
  • Save an image in a specific format in a separate directory

PROJECT 2 - Process Text Files with Python Dictionaries and Upload to Running Web Service

Introduction You’re working at a company that sells second-hand cars. Your company constantly collects feedback in the form of customer reviews. Your manager asks you to take those reviews (saved as .txt files) and display them on your company’s website. To do this, you’ll need to write a script to convert those .txt files and process them into Python dictionaries, then upload the data onto your company’s website (currently using Django).

What you’ll do

  • Use the Python OS module to process a directory of text files
  • Manage information stored in Python dictionaries
  • Use the Python requests module to upload content to a running Web service
  • Understand basic operations for Python requests like GET and POST methods

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages