Write Python program that generates an informative web site

Assignment Help Python Programming
Reference no: EM132001738

Assignment - Generated Web Site for Aussie Airport Passenger Movements

Your task in this assignment is to write a Python program that generates an informative web site about Airport Passenger Movements Month by Month From 1985-Present, showing summary statistics about the number of domestic and international airport passengers travelling in Australia month by month. This will allow viewers to get insights into the data, and to identify trends that are changing over time.

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 input data is updated each month, so the idea is that your program will be run on the updated input data each week or each month to automatically generate an updated web site that shows the latest trends and statistics.

Each web page should show a different aspect of airport passenger movements, and how that aspect has changed over time. Some of your pages must have photos and graphs. Here are some suggestions for different pages you might generate:

  • Passenger movements per year, and how this rate is changing over time;
  • Passenger movements per Australian airport;
  • Passenger movements rates per year for each state (identify airport locations)
  • Passenger movements with the highest seasonal impact, eg Summer (12,1,2) vs Winter (6,7,8)
  • Seasonal passenger movements compared to each state
  • The airports with the largest growth (total amount of passengers served) over a period of time

Important goals:

A. For most of these pages, it would be even more interesting and useful if you could display the change in these statistics over time, such as comparing 1985 against 2017, or the first 5 years against the most recent 5 years.

B. Also, for many of these pages, it would be more meaningful to airline companies if you could display the overall (all airports) seasonal movements. Seasons can be identified with the month code, eg Summer (12,1,2), Winter (6,7,8) and you may select any time period (year) you wish.

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

D. All the HTML files and graphs/tables in your whole web site must be generated by your Python program, so that your whole web site can be automatically updated when the input data values are updated, just by rerunning your Python program.

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 (CSV data files);

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

4. Analyse data to produce graphs and summary statistics;

5. Use string and list methods to generate HTML.

Attachment:- Assignment Files.rar

Reference no: EM132001738

Questions Cloud

Adolescent impulsivity relate to brain development : How does adolescent impulsivity relate to brain development??
How much equity does superior widgets have on a balance : Superior widgets manufacturing reported a debt-to-equity ratio of 1.9 times at the end of 2015.
Important determinant of sexual orientation : If genetics is the most important determinant of sexual orientation, which set of brothers will have the greatest likelihood of both having homosexual
What is its price per share if the firms equity cost capital : Summit Systems will pay a dividend of $1.55 this year If you expect Summit's dividend to grow by 6.4% per year.
Write Python program that generates an informative web site : ICT112 Assignment - Generated Web Site for Aussie Airport Passenger Movements. University of the Sunshine Coast. write a Python program that generates a site
Individual diagnosis from substance abuse : What are some of the primary impairments that need to manifest in order to change an individual's diagnosis from Substance Abuse to Substance Dependence?
Develop skills for discussing value of project management : PPMP20013 description of your experience, including reading samples or records - develop skills for discussing the value of project management for mining, plant
Distinguish among dissociative amnesia and dissociative : Distinguish among Dissociative Amnesia and Dissociative Fugue? Which is more common? What might precipitate the emergence of each disorder?
How many of the new shares can you purchase : What is your total investment in the first after the rights offering? How is your investmet split between original shares and new shares?

Reviews

len2001738

5/30/2018 6:25:36 AM

This assignment is due at the end of Week 12 (Friday 8th 11:55pm). You must submit your files in a single .zip file, via Blackboard. Your .zip file should include your Jupyter Notebook (containing your Python program), your input data files, all your generated output web pages; and any image files, graphs and CSS files that are used in your web pages. It will be marked out of 30.

len2001738

5/30/2018 6:25:29 AM

The marking criteria is as follows: Jupyter Notebook Structure [6 marks]. This should use markup cells and headings to divide your program into parts: Title, plus your name and student number; Introduction, which explains the structure of your web site, and the features / statistics / graphics that you have implemented; Web-site overview, to explain the structure of your web site; Python code, preferably broken into subsections for each part of your program;

len2001738

5/30/2018 6:25:24 AM

Web Design and Functionality [6 marks]. To achieve maximum marks, the generated web site should contain several (5-10) web pages, with an entry page (index.html) that links to all the other pages, and the other pages linking back to the entry page; good use of images; the layout and organisation of the pages should be elegant and readable, with appropriate choices of colours; good use of HTML tables for layout; the generated pages should conform to HTML standards; a simple CSS file should be used to specify the look of the web pages (this CSS file does not have to be generated by your program).

len2001738

5/30/2018 6:25:18 AM

Data Analysis [6 marks]. Your program should analyse the data and generate (and include in the web pages): one or more informative tables that show various aspects of the data; summary statistics for various group of data (e.g. an average, or maximum, or minimum, or sum) over a period of time some relative statistics, as mentioned in goal B above. Python Functions [6 marks]. Most your Python code should be inside functions; function parameters should be used to make your program concise and flexible; each function should include appropriate function docs; correct and meaningful naming conventions should be followed for function names and variable names.

len2001738

5/30/2018 6:25:13 AM

Program Design and Algorithms [6 marks]. To achieve maximum marks, your program should be elegantly designed: be concise; use constants for important values/strings that are likely to change; use appropriate data structures (e.g. strings, lists, tuples, dictionaries, or objects) to store the data; make good use of Python libraries and methods (e.g. for strings and lists); and be reasonably efficient during execution (e.g. reading the input files just once, rather than many times). A key criterion is that your program should not contain blocks of code that are duplicated or similar (such blocks of code should be simplified into a single block of code by good use of loops or functions). Note: the generated web pages should NOT contain any Javascript, as the goal of this assignment is to generate simple static web pages using Python.

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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