summaryrefslogtreecommitdiff
path: root/lib/dnspython/examples/e164.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dnspython/examples/e164.py')
-rwxr-xr-xlib/dnspython/examples/e164.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/dnspython/examples/e164.py b/lib/dnspython/examples/e164.py
new file mode 100755
index 0000000000..ad40ccf84b
--- /dev/null
+++ b/lib/dnspython/examples/e164.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import dns.e164
+n = dns.e164.from_e164("+1 555 1212")
+print n
+print dns.e164.to_e164(n)