Be sure to develop and test your Python code in the AWS Cloud9 IDE provided for the class.

Overview: In this week, you have studied additional Python language syntax for adding Image, Table and

Form HTML tags through functions and using the Python Flask module. The Lab for this week

demonstrates your knowledge of this additional Python functionality. Be sure to use the examples in the

textbook reading along with the associate libraries, functions and processes when completing the

assignments for this week.

Be sure to develop and test your Python code in the AWS Cloud9 IDE provided for the class.

You should continue to use the PEP Python Style guide mentioned in the book and found here:

https://www.python.org/dev/peps/pep-0008/

Some examples of Python Coding Style best practices include:

 Limit all lines to a maximum of 79 characters.

 Imports are always put at the top of the file, just after any module comments and before module

globals and constants.

 Use 4 spaces for indentation.

Submission requirements for this project include 2 files. (Zipping them into one file is acceptable and

encouraged):

 Python Enhanced Web Page Code

 PDF or Word file showing your test and documentation results

Python Applications for Lab7: (total 100 points):

This exercise (80 points) uses the AWS Cloud9 environment to enhance the Web page you created last

week with additional functionality to include images, tables and a Form using Python flask. The Web

page should include all basic components of the HTML structure including:

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

…your page content…

</body>

</html>

In addition to the basic HTML structure components listed above along with the components you added

last week, the following items should be added:

 At least 4 different images. The images should be local on the Cloud9 IDE environment. For

example, they should be saved on your AWS cloud environment and referenced similar to this

syntax: <img src=”image.gif”>

2

 1 Table with at least 4 rows and 3 columns.

 1 form allowing a user to enter at submit data for 2 textfields, 1 textarea, and one select (drop

down) component. The form should have a submit and reset button. Use Post for your action

type. Data should be submitted to a Cloud9 IDE output file.

The content and topic of the new images, table and forms are up to you. It should be unique and

something you want to create and aligned with the previous submission.

Hints:

1. Start early. This will take you longer than you think.

2. Test all aspects of the form from input to output on the Cloud9 Server

3. Be sure to send me questions, if you need assistance.

2. Document your results of the application running from the AWS Cloud9 classroom environment.

Provide screen captures and descriptions of you running the Python application within AWS Cloud9

verifying you successfully started and have navigated to your Web application using your Browser. Show

screen captures of your Web application running on the Browser. 20 points)

Any submissions that do not represent work originating from the student will be submitted to the

Dean’s office and evaluated for possible academic integrity violations and sanctions.