Add instructions for installation of dependencies

This commit is contained in:
Marcus Ottosson 2018-05-06 21:04:18 +09:00 committed by GitHub
parent 662f1e3e0e
commit 01ec0291ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,10 @@ model->load("example.json")
Add `qjsonmodel.py` to your `PYTHONPATH`.
```bash
$ pip install Qt.py
```
```python
import json
import qjsonmodel
@ -29,4 +33,4 @@ view.setModel(model)
with open("example.json") as f:
model.load(json.load(f))
```
```