Permalink
Browse files

add some more examples

  • Loading branch information...
1 parent 9ab60a1 commit 10236fb8257fba3f1ed6d39d626bdfdac82b5759 @rthalley committed Sep 25, 2006
Showing with 12 additions and 0 deletions.
  1. +6 −0 examples/e164.py
  2. +6 −0 examples/reverse_name.py
View
@@ -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)
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import dns.reversename
+n = dns.reversename.from_address("127.0.0.1")
+print n
+print dns.reversename.to_address(n)

0 comments on commit 10236fb

Please sign in to comment.