https://github.com/gakurualex/fuel_gauge
CS50's Introduction to Programming with Python Exception Problem Set 3
https://github.com/gakurualex/fuel_gauge
exception-handling mock pytest python3 raise unittest
Last synced: 2 months ago
JSON representation
CS50's Introduction to Programming with Python Exception Problem Set 3
- Host: GitHub
- URL: https://github.com/gakurualex/fuel_gauge
- Owner: GakuruAlex
- Created: 2024-12-03T08:57:20.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-03T12:55:34.000Z (6 months ago)
- Last Synced: 2025-02-03T09:18:11.341Z (4 months ago)
- Topics: exception-handling, mock, pytest, python3, raise, unittest
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fuel Gauge #
CS50's Introduction to Programming with Python problem set 3 on Exceptions
# Prerequisite #
Git clone the repo
```bash
git clone [email protected]:GakuruAlex/fuel_gauge.git
```change directory to nutrition
```bash
cd fuel_gauge
```Create a virtualenv
```bash
python3 -m venv myenvname
```Activate virtualenv
```bash
source myenvname/bin/activate
```Install requirements
```bash
pip install -r requirements.txt
```# Usage #
## Run program ##
```bash
python3 fuel_gauge.py
```## Run tests ##
```bash
pytest -v
```# Author #
[Alex Gakuru](https://github.com/GakuruAlex)