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
```
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
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 hashes)