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

  Grade that will calculate and return a student''s exam

Write a function overall Grade that will calculate and return a student's 2316 exam average. It will accept five parameters, which correspond to exam1,2,3,4 and the Final grade. It should replace the lowest exam grade with the 2nd lowest exam grade

  Program to do the enciphering

Write a program to do the enciphering. It should prompt the user for a message, and print out both the entered message and its corresponding ciphertext.

  Write a python program that reads a dumbbasic program

You should write a Python program that reads a DUMBBASIC program from standard input1, and prints the results of executing that program to standard output.

  Question 1 research 5-8 species within one family of birds

question 1 research 5-8 species within one family of birds. be sure to use primary or very good secondary literature

  Integration of mnch commodities supply chain management

Objective of the study is to examine the outcome of integration of logistic and supply chain management of MNCH commodities on service delivery, specific objectives have been set to achieve the aim of the study.

  Write a python program that performs simple encryption

You are required to write a Python program that performs simple encryption and decryption on strings entered by the user. To do so, you are to use one of the simplest and most widely known encryption techniques known as the Caesar Cipher

  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..

  Write a python program to demonstrate a theme for your robot

Write a Python program to demonstrate a theme for your robot. Your team must think of something fc your robot to do using the sensors and/or motors.

  Design an application in python

Design an application in Python- The application would generate a set of 100 integers in a random manner in the range of 50 to 150 including both the numbers in the range

  Program that creates a dictionary containing

Write a program that creates a dictionary containing the U.S. states as keys and their capitals as values. The program should then randomly quiz the user by displaying

  Write a program that opens an encrypted file

Write a second program that opens an encrypted file and display its decrypted contents on the screen.

  Improve the structural design - haunted house game

List the things you changed and the purpose of changing it. Good reasons include making code easier to read and easier to navigate when modifying it.

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