Skip to main content

A simple calculator built using docopt

Project description

# consoleApp
A simple console App in python using docopt

**Installation**

`$ git clone https://github.com/kimobrian/consoleApp.git`

`$ 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 app.py --interactive
$ python app.py -i
```

**Commands**

```
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 | RSS feed

This version

1.0

Download files

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

Files for consoleAppMath, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size consoleAppMath-1.0.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page