Skip to content

punkuotukas/TC_1.1.5_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A package with basic calculator functions: addition, subtraction, multiplication, division, root.

INSTALLATION

pip install not-so-basic-calculator

VIRTUAL ENVIRONMENT SETUP

  1. navigate to project's root directory

  2. create the new virtual environment with:

    python3 -m venv venv

  3. activate venv with:

    source venv/bin/activate

You should see '(venv)' at the end of your terminal prompt line which indicates that virtual environment is active.

To start the calculator, run:

python /calculator/__init__.py

Follow the instructions on the command line afterwards.

To run tests:

pytest

To generate 'requirements.txt' file with dependencies of the project:

pip freeze > requirements.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published