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

  • Download URL: consoleAppMath-1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

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 Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page