diff options
Diffstat (limited to 'contrib/python/examples/python3/ldns-buf.py')
-rwxr-xr-x | contrib/python/examples/python3/ldns-buf.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/python/examples/python3/ldns-buf.py b/contrib/python/examples/python3/ldns-buf.py new file mode 100755 index 0000000..498d51f --- /dev/null +++ b/contrib/python/examples/python3/ldns-buf.py @@ -0,0 +1,8 @@ +#!/usr/bin/python + +import ldns + +buf = ldns.ldns_buffer(1024) +buf.printf("Test buffer") +print(buf) + |