Ict112 assignment - generated web site for sports club you


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

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 like Fox Sports Pulse that list teams and results for many different local sports. 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. Keep it simple! 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;

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

4. Use string and list methods to generate HTML.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Ict112 assignment - generated web site for sports club you
Reference No:- TGS02331572

Expected delivery within 24 Hours