From bb12837ca75efc2691ecb18fd5f56e2d097ef26b Mon Sep 17 00:00:00 2001 From: aouinizied Date: Tue, 22 Mar 2022 15:01:55 +0100 Subject: Update Python bindings guide. --- python/DEV_GUIDE.md | 5 +++++ python/README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'python') 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 -- cgit v1.2.3