/usr/share/doc/python-getdns-doc/examples/print-context.py is in python-getdns-doc 1.0.0~b1-1build4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/env python
#
import getdns, sys, pprint
ctx = getdns.Context()
try:
pprint.pprint(ctx.get_api_information())
except getdns.error as e:
print(str(e))
sys.exit(1)
|