File: e164.py

package info (click to toggle)
dnspython 1.16.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,520 kB
  • sloc: python: 12,540; makefile: 62
file content (8 lines) | stat: -rwxr-xr-x 152 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/usr/bin/env python

from __future__ import print_function

import dns.e164
n = dns.e164.from_e164("+1 555 1212")
print(n)
print(dns.e164.to_e164(n))