Skip to content

needforschool/python-jb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Exercises

Description

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)

Getting Started

Installation

  1. Clone the repo
git clone https://github.com/needforschool/python-jb

Usage

Part 1

  1. Go to the ./part1 folder
cd ./part1
  1. Run the script
python main.py

Part 2

  1. Go to the ./part2 folder
cd ./part2
  1. Run the script
python main.py

Part 3

For this part you have to install dependencies that are referenced in the requirements.txt file:

* flask 2.2.3
* py-cpuinfo 9.0.0
  1. Go to the ./part3 folder
cd ./part3
  1. Install dependencies with pip
pip install -r requirements.txt
  1. Run the script
flask run

# if it doesn't work, try this command:
python -m flask run

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published