Skip to main content

A simple calculator built using docopt

Project description

# consoleApp
A simple console App in python using docopt


`$ git clone`

`$ cd consoleApp`

Create and activate a virtual environment.

$ virtualenv venv
$ source venv/bin/activate

Install `docopt`

`$ pip install docopt`

Run the application with either of the two commands:
$ python --interactive
$ python -i


add <numberA> <numberB> e.g add 5 59
sum <numberA> <numberB> e.g sum 23 56
div <numberA> <numberB> e.g div 85 5
multi <numberA> <numberB> e.g multi 21 40


Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
consoleAppMath-1.0.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None Nov 29, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page