ocrd_utils.os module

Operating system functions.

ocrd_utils.os.abspath(url)[source]

Get a full path to a file or file URL

See os.abspath

ocrd_utils.os.pushd_popd(newcwd=None)[source]
ocrd_utils.os.unzip_file_to_dir(path_to_zip, output_directory)[source]

Extract a ZIP archive to a directory