In this repository we have 3 python projects:
- Part 1 (Script that print a random quote from a dictionary)
- Part 2 (Script that print in JSON a dictionary of movies informations)
- Part 3 (Flask application that show system informations)
- Clone the repo
git clone https://github.com/needforschool/python-jb- Go to the
./part1folder
cd ./part1- Run the script
python main.py- Go to the
./part2folder
cd ./part2- Run the script
python main.pyFor this part you have to install dependencies that are referenced in the requirements.txt file:
* flask 2.2.3
* py-cpuinfo 9.0.0
- Go to the
./part3folder
cd ./part3- Install dependencies with
pip
pip install -r requirements.txt- Run the script
flask run
# if it doesn't work, try this command:
python -m flask run- Jérémy Baudrin (@jerembdn)