Skip to main content

two modules

Project description

LSDS Object Oriented Programming Review Assignment

Inside the football directory, you will find several files, including a blank __init__.py. Don't worry about that one right now. These files together can model several aspects of a football season including a player's statisctics, an individual football game, and a season.

As is, these modules are fully functional (well, they run without errors). You can generate a season report by running season.py, and you can run the tests using football_test.py.

That being said...

Each file (game.py, players.py, season.py, possible_values.py, and football_test.py) contains at least one TODO inside a comment. That is where you can add things and try them out to see if you're understanding how this is all done.

It makes the most sense to begin with players.py and game.py because they explain the class foundations for the rest of the files (game.py more so--since it is used in season.py).

To run anything here or in your own, edited version, clone the repo and navigate to the football directory in your terminal. If you would like to run the tests or generate a season report, run python filename.py or python3 filename.py depending on your configuration with the appropriate choice of football_test.py or season.py. If you would like to interactively create instances of the Player, Quarterback, Game, or your own, added, classes and run different methods on them, run python or python3 in terminal and import the appropriate module (file name without the .py) on the python shell (when you see >>>, for example).

Originally created by Joanne Jordan for Lambda School's Data Science program https://github.com/jojordan3/LSDS-OOP-assignment

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DS-OOP-Review-0.1.2.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file DS-OOP-Review-0.1.2.tar.gz.

File metadata

  • Download URL: DS-OOP-Review-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for DS-OOP-Review-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d2f09395afe6db521c808f04dbbb34fc56e4a29f0ad88be918da4200f9949620
MD5 d7e91dc878dbdf42478da854771397d4
BLAKE2b-256 b01238e5ba5eeef9f57f061d800140623c1db6b04e76679a132d86608b8efe0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page