def read_package(package_name):

    filename = find_module(package_name)
    if filename is None:
        raise ValueError("no such package '%s'" % package_name)

    package = Package(filename=filename, name=package_name)
    read_directory(filename, package)

    return package
Appends dictionary of localization keys and comments to a file
dataset/ETHPy150Open enthought/envisage/envisage/developer/code_browser/enclbr.py/read_package--crossover with--dataset/ETHPy150Open joytunes/JTLocalize/localization_flow/jtlocalize/core/localization_utils.py/append_dictionary_to_file