From a1ba2d1ca3a1d6c9c36a79a196dd3ccb83ede353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 4 Jul 2012 14:22:28 +0000 Subject: import ldns 1.6.13 --- contrib/python/examples/python3/ldns-buf.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 contrib/python/examples/python3/ldns-buf.py (limited to 'contrib/python/examples/python3/ldns-buf.py') diff --git a/contrib/python/examples/python3/ldns-buf.py b/contrib/python/examples/python3/ldns-buf.py new file mode 100755 index 000000000000..498d51f6c3af --- /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) + -- cgit v1.2.3