Baseball Files
gameday_misc
GameDay - Miscellaneous.
This contains various helper classes and functions useful for pyGameDay.
classes:
GameDayAAAAA - a GameDay AAAAA class
functions:
dispatch(cmd,[args]) - Module Command Dispatch
main() - Default function
Developer@Sonnack.com
May 2012
function dispatch
Dispatch Command.
usage:
module_name {command} {arguments}
commands:
main - Default function
function main
Default function.
type Datum
A simple datum class.
Given a TeamCode and a Game object, extract the Team name and W-L record.
Also calculate the number of games played (W+L), the remaining games to play and the
maximum number of possible wins. There is also an 'eliminated' flag and date field
that is initially set to <False, None>.
The update() method updates the data given another Game object.
type GameDayAAAAA
GameDay AAAAA Class.
properties:
.AAAAA
methods:
.filename()
.save_html()