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

  Most popular name would be the one with the biggest number

the program will ask you to insert the year that the user is interested in, then ask the gender that the user is interested in, and print out the most popular names corresponding to the year and gender. FYI, the number on the right represents how man..

  Convert inches into yards feet and inches

Convert inches into yards, feet, and inches

  Write a python program that draw as pie chart

Write a python program that draw as pie chart go n frequent lettering word.txt file. The program, will Use tkinter to build an interface to input n

  Write a function that will take two arguments

Write a function that will take two arguments: a word to be searched for and a list of strings containing the grid and write code to read, in turn, each line of the file, remove the newline character and append the resulting string to a list of stri..

  Write a program that obtains integer numbers from user

Emphasize standard approaches that verify you have successfully mastered the concepts of structured design - selects a menu item, program should perform calculation, display the result to the user, and return to the main menu.

  Write a program that accepts as input a sentence

Write a program that accepts as input a sentence in which all of the words are run together but the first character of each word is uppercase. Convert the sentence to a string in which the words are separated by space and only the first word start..

  Assignment on python code

A robot is asked to navigate a maze. It is placed at a certain position (the starting position) in the maze and is asked to try to reach another position (the goal position)

  Console program where you will implement

Create a console program where you will implement coding constructs and variables that are needed for this program and will implement the code within Main and any required static methods.

  How do you prevent replay attacks

What was your choice of cipher? What mode of operation does it use? Why did you make these choices? How do you prevent attackers from tampering with messages in transit? How do you prevent replay attacks

  The interest rate per period

The interest rate per period. For example, if your loan's interest is 6.5% per year, and you are paying monthly, this would be 6.5%/12. If you are paying every two weeks, r would be 6.5%/26, because there are 26 two-week periods in a year.

  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

  Function by sum of sines

code the program using an editor (DO NOT COMMAND LINE THE PROGRAM) and show the results

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