Lab 5: Flight Carbon Calculator supplemental resource
- Python 100%
| .gitignore | ||
| by_hand.md | ||
| estimate.py | ||
| README.md | ||
| requirements.txt | ||
Estimating the CO2 Impact of Study Abroad in Dublin, Ireland
TL;DR (too long, didn't read)
(You can read more in this file, if you'd like to do the calculations manually)
Run the python code:
- Install python3 and the venv module on your system (instructions differ by OS)
- Create a virtual environment:
python3 -m venv venv(in the repository) - Install packages into the environment:
./venv/bin/pip install -r requirements.txt - Run
estimate.pylike this:./venv/bin/python estimate.py