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

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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page