aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authoraouinizied <aouinizied@gmail.com>2022-03-22 15:01:55 +0100
committeraouinizied <aouinizied@gmail.com>2022-03-22 15:01:55 +0100
commitbb12837ca75efc2691ecb18fd5f56e2d097ef26b (patch)
tree2ad15df59fd6bbd69f6e4b18bd9f801616915c7f /python
parentc7059db84a90078cc90d94db9d56d86c728b3ec6 (diff)
Update Python bindings guide.
Diffstat (limited to 'python')
-rw-r--r--python/DEV_GUIDE.md5
-rw-r--r--python/README.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/python/DEV_GUIDE.md b/python/DEV_GUIDE.md
index a15f7d162..e729ac08f 100644
--- a/python/DEV_GUIDE.md
+++ b/python/DEV_GUIDE.md
@@ -12,6 +12,11 @@ int ndpi_des_init(struct ndpi_des_struct *des, double alpha, double beta, float
[**NDPI_APIS**][py_ndpi_api] must be updated with the this new API your want to add.
+## Regenerate bindings
+
+``` bash
+python3 setup.py install
+```
## That's it!
diff --git a/python/README.md b/python/README.md
index 695874fd1..dd8ab55c9 100644
--- a/python/README.md
+++ b/python/README.md
@@ -61,7 +61,7 @@ optional arguments:
Example with a Skype capture file
``` bash
-python ndpi_example.py -u ../tests/pcap/skype.pcap
+python3 ndpi_example.py -u ../tests/pcap/skype.pcap
```
## Related projects