Write a python program that generates a small web site

Assignment Help Python Programming
Reference no: EM131536019

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.

Reference no: EM131536019

Questions Cloud

Write a half-page report comparing rolf and kent : Rolf Company and Kent Company are similar firms that operate in the same industry. Kent began operations in 2011 and Rolf in 2008. In 2013, both companies pay.
Demonstrates the use of two separate classes : Describe a real world application that demonstrates use of two separate classes. Write a switch statement that allow user to enter a number instead of a string.
Create a performance problem for kodak : Did poor management communication create a performance problem for Kodak? When, how, and why do you think so or otherwise?
Express the balance sheets in common-size percents : Sanderson Company's year-end balance sheets follow. Express the balance sheets in common-size percents. Round amounts to the nearest one-tenth of a percent.
Write a python program that generates a small web site : ICT112 Assignment - Generated Web Site for Sports Club. You first task is to choose a sport or club, and get some suitable input data
Share underwriting fees to the investment banker : What are the total per-share underwriting fees to the investment banker?
Advantage of going public : Which of the following is an advantage of going public? There is low cost with going public.
Financial plan and operational budget : Prepare next year's financial plan and operational budget.Note: Keep in mind that the budget you created for your Phase 2 Individual Project.
Compute the firms optimal levels of period-one investment : Compute the firm's optimal levels of period-1 investment and period-2 profits. State the maximization problem of the representative household.

Reviews

len1536019

6/19/2017 2:52:03 AM

Produce a Python program that effectively solves a real-world problem. You will be presenting a report and algorithm design showing how you might solve a given problem using a Python program. Further details will be available on Blackboard in the assignment specification. The game should be Washington wizards.

len1536019

6/19/2017 2:51:57 AM

Program Structure and Algorithms [8 marks]. To achieve maximum marks, your program should be elegantly designed; concise; structured to use functions for each major functionality of the program; 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). The key criterion is the use of functions to raise the abstraction level of the code, and make your program more concise and readable. 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.

len1536019

6/19/2017 2:51:49 AM

Design Report [7 marks]. This should be a short (1-2 pages) report giving a brief introduction to the club/sport and the application; describing the format of the input data file(s); giving a summary of the format of the output web site including one of two screenshots / images; brief user documentation of how to run your program.

len1536019

6/19/2017 2:51:43 AM

Web Design and Functionality [7 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; 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 does not have to be generated by your program); some use of images; and several pages should display summary statistics that have been calculated from the input data (e.g. the number of games that each team won and lost, or the average score, or average and best times. 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