ASCII Images

Purpose

The purpose of this lab is to help you develop your knowledge of the NumPy library while practicing previously learned Python skills.

Preliminaries

Create a project named ASCII Images on your lab computer. Place the following files into this project:

Assignment

In this assignment, you will use the NumPy Python library to modify the given array according to directions. Successful completion of the methods will write the array to a file which will contain the Python logo in ASCII characters as shown here.

For your convenience, the main function is provided so that the decoding functions are called in the correct order.

Remember to remove the word pass from each of the functions once you add a body.

In order to decode the file, you will write each of the following functions:

Note that all the functions you write will return the modified NumPy array except for write_file_char() which does not return anything.

Resources

Here is a link to the NumPy documentation

Submission

Before lab ends, e-mail a copy of to your lab TA. The subject of the e-mail should be CSCI 111, ASCII Images, your lab time, your name, your partner's name. To receive credit, this e-mail must be sent before your lab period finishes. Partial credit can be earned, but late assignments will not be accepted.

Grading - 100 points possible