Write a python program that generates a small web site

Assignment Help Python Programming
Reference no: EM131085313

Assignment-

Generated Sustainability Web Site for the Sunshine Coast

Your task in this assignment is to write a Python program that generates a small web site to inform Sunshine Coast people about some aspect of the local environment or a local sustainability issue.

Your program will read some input data from a text file (e.g., a spreadsheet in comma-separated-values, or CSV, format) and automatically generate several web pages with links going between the pages.  The idea is that each time the data is updated, or more data becomes available (for example, each week or each month), your program will be run on the updated input data to automatically generate an updated web site that shows the latest information.

Each web page should show a different aspect of the information.  For example, you might have a web page for several different beaches in the Sunshine Coast, with each page displaying surf information or pollution data for that beach.  Or you might have a different page for each environment aspect that you are interested in, showing all the information for that aspect.

There must be one top-level page, called index.html, that is the entry point for the web site.  This must give an overview of your whole web site, and should have links to all the other pages.

Input Data

You first task is to choose an environmental or sustainability issue that interests you, and get some suitable input data.  You might like talk to friends and relatives and see if they have any environmental issues that they would like to have a prototype web site generated to display information about that issue.

A good source of lots of data sets is: https://data.qld.gov.au.  Check out the  categories, or click on Data then Categories, and explore categories like:

  • Environment
  • Construction and Housing
  • Mining
  • People and Society
  • Transport

Learning Objectives

In this assignment you will learn how to:

1. Use top-down design to divide a larger data processing task into parts;

2. Use Python to read and write text files;

3. Use functions to raise the abstraction level of your program;

4. Use string and list methods to generate HTML.

Reference no: EM131085313

Questions Cloud

Find the height needed : a) Determine the height (h) from which from which cart 1 would need to start to make sure that cart 2 completes the loop without leaving the track? (Assume an elastic condition). b) Find the height needed if instead cart 2 (more massive) is allowe..
Problem regarding the effects on the environment : Discuss three (3) positive and three (3) negative impacts of humans on the biosphere. Which positive and negative impacts do you believe are the most significant to consider. Justify your response.
Write a program to generate a four-tone siren using the pp5 : Write a program to generate a four-tone siren using the PP5 pin with each tone lasting for half a second.
Transmission line resistance : The transmission line resistance is 0.34 Ω/cable, and the power of the generator is 284 kW. If Vt = 110 kV, what are (a) the voltage decrease ΔV along the transmission line and (b) the rate Pd at which energy is dissipated in the line as thermal e..
Write a python program that generates a small web site : ICT112 Assignment. Your task in this assignment is to write a Python program that generates a small web site to inform Sunshine Coast people about some aspect of the local environment or a local sustainability issue
What is the acceleration of the mass : The incline is raised from 0 degrees to 57.1 degrees. What is the acceleration of the mass at 57.1 degrees in m/s2?
Write a c program to find three numbers : Write a C program to find three numbers that have this special property.
Write a paragraph about giant panda : Write a paragraph about giant panda. Tell us a little about the biology of the species. What kinds of cells does it have? What are some of the organelles in its cells.
Write a c function that calculates the least common multiple : Integers m and n are parameters to this function. Also write a main program to test this function with several pairs of integers. Use the library functions to convert and output the results.

Reviews

Write a Review

Python Programming Questions & Answers

  Find the output of the given script in python

Find the output of the following script in Python. Note: All statements are valid. Rewrite the following for loop Python statements using while loop.

  Design part of the code for the haunted house game

Create a cheat commands in the game so player can teleport to any location in the map - You are tasked with improving and designing part of the code for the Haunted House game.

  Design a function that accepts an integer

Design a function that accepts an integer argument and returns the sum of all the integers from 1 up to the number passed as an argument. For example, if 50 is passed as an argument, the function will return the sum of 1, 2, 3, 4, . . . 50. Use recur..

  Write a class named employee

Write a class named Employee that holds the following data about an employee in attributes: name, ID number, department, and job title

  Aussie best car abcdeclares that based on its yearly sales

aussie best car abcdeclares that based on its yearly sales it will award a bonus as follows. the bonus will be equally

  Ida to reverse engineer a piece of shellcode

You are a Malware Investigator at 0xC0ff33, Inc and an incident responder came across injected shellcode during an investigation. He has done all he can in IDA and has passed on the .idb file to you. Figure out what the purpose of the malware was ..

  Python errors

python errors, please correct them that are located in this program,

  Compare programming with python and programming with scratch

Compare programming with python and programming with scratch. Describe the same program you might create in both programming languages.

  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

  Python scripting language

Your programming project will be a simple, working program, using a Python scripting language, which utilizes a good design process and includes: Sequential, selection, and repetitive programming statements as well as and At least one function call

  Asign true to the variable has_dups

Asign True to the variable has_dups if the string s1 has any duplicate character (that is if any character appears more than once) and False otherwise

  Evaluate quality of the random number generator in python

This program is going to evaluate the quality of the random number generator in Python by simulating dice rolls and looking at the distributions of the values.

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