CoolFace
Apppublic

Heartsync/toss-hwp

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
__init__.py16 linesDownload Raw Back to samples
1# -*- coding: utf-8 -*-2from __future__ import absolute_import3from __future__ import print_function4from __future__ import unicode_literals5import io6 7 8def get_fixture_path(filename):9    from hwp5.importhelper import pkg_resources_filename10    return pkg_resources_filename(__name__, filename)11 12 13def open_fixture(filename, *args, **kwargs):14    path = get_fixture_path(filename)15    return io.open(path, *args, **kwargs)16