Generate a simple web site using python flask

Assignment Help Python Programming
Reference no: EM133452290

Overview: In this week, you have studied additional Python language syntax for rendering HTML templates 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 and readings along with the associate libraries, functions and processes when completing the assignments for this week.

Submission requirements for this project includes multiple 2 files. (Zipping them into one file is acceptable and encouraged):
• Python Web Page Code (Python code, Templates, CSS and other associated files)
• Word or PDF file containing your test and pylint results

Python Applications for this lab: (total 100 points):

This lab consists of two parts.

Question 1. This exercise uses your programming environment to generate a simple Web site using Python flask. The site should be unique, include at least 3 routes (e.g. 3 pages one can navigate), each route should render the HTML pages by using the render_template() functionality. A style sheet should be included that is used by all Web pages. Proper organization should take place of the web site including the location of templates and static pages. Keep in the basic HTML form for a function web page includes the following components:

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
...your page content...
</body>
</html>

In addition to the requirements list above the following functionality should be found within your web site on one or more web pages.
• Use at least 3 different heading styles (e.g. <h1>, <h2>, <h3>)
• Paragraph (<p>)
• Comments <! >)
• Ordered list
• Unordered list
• At least 3 Links to other External Web Sites
• Display the Date and Time on a Web page (Hint: Just use the Python datetime functions)

The content and topic of the Web site is up to you. Consider an information web site about a topic you are interested. It should be unique and something you want to create.
Hints:
1. Be sure to end tags that are started (e.g. <h1> </h1>)
2. Start early. This will take you longer than you think.
3. Use comments to document your code
4. Test with many combinations.
5. Use pylint to verify the code style - the goal is a 10!

Question 2. Document your testing results using your programming environment. You should also include and discuss your pylint results for the application. The test document should include a test table that includes the input values, the expected results and the actual results. A screen capture should be included that shows the actual test results of running each test case found in the test table. Be sure to include multiple test cases to provide full coverage for all code and for each function you develop and test.

Reference no: EM133452290

Questions Cloud

How changes in the federal reserve monetary policy affect : Analyze how changes in the Federal Reserve's monetary policy affect at least 2 of the 4 components of GDP (consumption, investment, government spending
How it can improve from the freemium business model : Provide solutions and recommendations to improve their business model or recommend a new business model for the organisation. - Spotify and how it can improve
What are 6 generic business strategies capstone providing : What resources are valuable and rare at the beginning of the simulation? Which of Porter's 5 Forces apply in Capstone and which are less relevant
How diverse are your social circles : How diverse are your social circles? Do you actively seek out diverse perspectives and engage with people from different backgrounds?
Generate a simple web site using python flask : SDEV 300 Building Secure Python Applications, University of Maryland - Programming environment to generate a simple Web site using Python flask
Identify three sources of funding for new businesses : Which industries are easiest for a small business to enter? Which are hardest? Why? Identify three sources of funding for new businesses.
Explain how medium choices can affect the suitability : Identify two ways that perceptual errors can impact the purpose of a message and provide two strategies to overcome these errors. Explain two reasons why
Define the target customers and indicate the customer life : Define the target customers (CSR tool 1) and indicate the customer life stage practiced in the learning activities, and the generational type from your reading.
How each kpi will help measure the success : Explain the rationale behind each KPI and how it relates to the goals and objectives of the brand. Be very detailed with the information you provide to ensure

Reviews

len3452290

6/22/2023 10:23:21 PM

Submission requirements for this project includes multiple 2 files. (Zipping them into one file is acceptable and encouraged): Python Web Page Code (Python code, Templates, CSS and other associated files) ? Word or PDF file containing your test and pylint results

Write a Review

Python Programming Questions & Answers

  Develop a program to solve the anteater bed problem

Develop a program to solve the Anteater Bed and Breakfast problem. Develop this code in its own BandB.py file. Pay very close attention to the instructions, especially about developing the program in incremental stages

  Create mini-python projects or programs

Your assignment is to create mini-Python projects or programs and to run them in the Python-IDLE environment

  Write a short program in python that turns on all leds

Write a short program in Python that turns on all LEDs, one at a time, in a looping fashion. When an LED is on, it should stay on for 1 second.

  Display a warning if the number is less than 2 or greater

Display a warning if the number is less than 2 or greater than 10 and prompt the user to enter the data again until they enter a valid number.

  Display the count of the groups and final balance

Using the For.. loop, Write a program to ask the user for 7 deposits. As the user enters a deposit amount, update the balance using accumulation concept.

  Model evaluation assessment

Model Evaluation Assessment - Effectively report and communicate findings to an appropriate audience.

  Need a python function that will accept as input strings

Need a Python function that will accept as input three string values from a user. The method will return to the user a concatenation of the first two strings.

  Explain what steps you took to test and debug your code

Explain what steps you took to test and debug your code. What issues did you identify and correct while working on the project?

  Write a short program in python and view the output

How do you write a short program in Python and view the output, you want it to: Take two integers from the user. Save the lower number as x.

  Write a program that acts like a simple calculator

You will write a program that acts like a simple calculator for binary numbers. You should read in a string of input that has the format: number operator number.

  Design and implement two related programs

CSP1150/CSP5110 Programming Principles Assignment - programming project (WordChain). You are required to design and implement two related programs

  Determine data preprocessing methods and distance metric

Determine Data preprocessing methods to apply for each of your Clustering and Apply two different versions of a Clustering Methods of Your Choice

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd