Write a python program that generates a small web site

Assignment Help Python Programming
Reference no: EM131509828

Generated Web Site for Sports Club

Your task in this assignment is to write a Python program that generates a small web site for a local sports club. It 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 as the season progresses, and more games are played, 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 results.

Each web page should show a different aspect of the club activities. For example, you might have one web page for each team in the club, with that page displaying all the games that that team has played, with the scores shown for each game (and possibly the schedule of future games to be played). Or you might have a different page for each grade or age level, showing all the teams and results for that grade. Some of your pages must have photos and graphs.

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

Input Data

You first task is to choose a sport or club, and get some suitable input data.. If you play a sport yourself, see if you can get some data files for your sport. Or talk to friends and relatives and see if they are involved in any clubs or sports that would like to have a prototype web site generated for them.

If you cannot find, beg, or borrow any real data for a sports club, there are web sites that list teams and results for many different local sports:

- Fox Sports Pulse: https://sportstg.com/our-sports-network

- Super Netball: https://supernetball.com.au (but cleaner data from https://en.wikipedia.org/wiki/2017_Suncorp_Super_Netball_season );

- Sunshine Coast Football Club: https://au.soccerway.com/teams/australia/sunshine-coast-fc/12831/matches/

- Sunshine Coast School Sport: https://sunshinesport.eq.edu.au

Some of them have results for previous years, as well as partial results for this year. So choose a sport you are passionate about, and copy some grades, team names, and even scores from those pages and put them into a CSV file. You need enough data to be able to generate several interesting web pages - ideally your CSV file should have at least 6 useful columns and a hundred or more rows. If you cannot find a local sports club, you can use your favourite national club.

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.

Reference no: EM131509828

Questions Cloud

Take place in the behavior of molecules : As water cools, two distinct changes take place in the behavior of molecules: Their slower movement tends to increase density.
What we currently see today with most pricing policies : Analyzing Managerial Decisions: iTunes Music Pricing"- I think that this is what we currently see today with most pricing policies on downloadable music?
How much did each have at retirement age : David began working at ABC Corp when he was 25 years old. He began contributing $1000 per month into the 40 1k plan offered by his company
Transferring a fragment of dna to a different genetic : Genetic cloning was originally used by transferring a fragment of DNA to a different genetic element that would replicate well with the fragment.
Write a python program that generates a small web site : Choose a sport or club, and get some suitable input data.. If you play a sport yourself, see if you can get some data files for your sport.
Describes the scope of a training project : Describes the scope of a training project that aligns with your interest.Include information on the size and type of the organization.
Book value and market value of its stockholders equity : What are the book value and market value of its stockholders’ equity?
Agricultural farmlands for human use : 1. Which ecosystem with fertile soil has been mainly converted into agricultural farmlands for human use?
What are the sources of pediatric primary care in the us : What are the sources of pediatric primary care in the United States? Are these sources sufficient for providing health-care services to the pediatric.

Reviews

Write a Review

Python Programming Questions & Answers

  Create a cheat commands in the game so player can teleport

Create a cheat commands in the game so player can teleport to any location in the map - The first four tasks in this section can be completed by modifying only the code within the ProcessStatement() and Game() functions. This section typically requ..

  Input a temperature as a floating point

Your program should input a temperature as a floating point number with an appended unit letter. It should then print the temperature in all four of the units above

  Create a python program that allows user enter class name

Create a Python program that allows user enter class name, faculty name, name of each student, and letter grade each student earned.

  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 python program to add ded at the end of a given word

Write a Python program to add 'ded' at the end of a given word (length should be at least 3). If the given string already end with ‘ded' then add ‘ing' instead.

  Tower of hanoi game

Tower of Hanoi game that you can let a player to move discs between the towers using a mouse - Each move consists of taking the upper disk from one of the pegs and sliding it onto another rod, on top of the other disks that may already be present o..

  Calculate the average monthly private employment

Since the transition from one term to another occurs partway through January, the last year listed for any president is the same as the first year of the next president. Calculate the average monthly private employment for each political party.

  Create a python script that will implement the given command

Write a python script that will implement the following command: merge sourcedirectory1 sourcedirectory2 destinationdirectory. The merger is a union operation, so that if a file/directory exists in either source directory it is included in the new d..

  How when you are typing a text message

You have all experienced how when you are typing a text message the application will provide potential words that complete what you are typing (and sometimes insist on completing them incorrectly).

  Write a modularized body mass index program

Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: BMI = Weight *703 / Height^2.

  Implement algorithms for sorting in python

MCD4710 Algorithmic Problem Solving - write a Python program similar to the one from Part A but sort by the total medal count instead. So instead of sorting by the number of gold medals that each team won, this time it should be sorted by the total..

  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