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.

Source Distribution

consoleAppMath-1.0.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file consoleAppMath-1.0.tar.gz.

File metadata

File hashes

Hashes for consoleAppMath-1.0.tar.gz
Algorithm Hash digest
SHA256 d6f75f6bb70b0fea0cc64968c6a8d6562e1068dad60bb213e8b0cfe3ed6a1f7f
MD5 85247aa0c5bab716f88326ce6481c2b0
BLAKE2b-256 043e871684aba969e86b4fa5b9bb767998b72eb5b16047ccc4a263566a3e66be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page