diff --git a/python/README b/python/README index e9820e528..f55139d0c 100644 --- a/python/README +++ b/python/README @@ -1,4 +1,4 @@ -This directory contains the Python bindings for nDPI +This directory contains the Python3 bindings for nDPI Demo example: - python3 ndpi_example.py diff --git a/python/ndpi_example.py b/python/ndpi_example.py index ff11e6d37..d134d3947 100755 --- a/python/ndpi_example.py +++ b/python/ndpi_example.py @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with nDP If not, see . """ -from ndpi_bindings import * +from ndpi_typestruct import * from ctypes import * from scapy.all import * import sys diff --git a/python/ndpi_bindings.py b/python/ndpi_typestruct.py similarity index 99% rename from python/ndpi_bindings.py rename to python/ndpi_typestruct.py index d6d914d30..889257dea 100644 --- a/python/ndpi_bindings.py +++ b/python/ndpi_typestruct.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- """ -file: ndpi_bindings.py +file: ndpi_typestruct.py This file is part of nDPI. Copyright (C) 2011-19 - ntop.org