Example #1
0
#!/usr/bin/python

"""
rebuilds the pycopia.ISO.iso639a module from the ISO web site.
"""

import os
from pycopia import ISO

FILE = os.path.join(ISO.__path__[0], "iso639a.py")

ISO.build_iso639a(FILE)

# to force compilation and test result
import pycopia.ISO.iso639a
Example #2
0
#!/usr/bin/python

"""
rebuilds the ISO.iso3166 module from the ISO web site.
"""

import os
from pycopia import ISO

FILE = os.path.join(ISO.__path__[0], "iso3166.py")

ISO.build_iso3166(FILE)

import pycopia.ISO.iso3166