File: README.md

package info (click to toggle)
python-datapoint 0.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 584 kB
  • sloc: python: 3,062; makefile: 18
file content (24 lines) | stat: -rw-r--r-- 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Do I need an umbrella

_This example checks the forecast for your current location to see if it is going
to rain at any stage today. If so it will suggest that you take an umbrella._

### Required Modules
 * [datapoint](https://github.com/perseudonymous/datapoint-python)

## Learning Objective

Make a simple decision based on the data provided by DataPoint.

## Example Usage

```Shell
python umbrella.py
```

## Example Output

```
London
Looks like rain! Better take an umbrella.
```