9 lines
256 B
Python
9 lines
256 B
Python
try:
|
|
import importlib.resources as importlib_resources
|
|
except ImportError:
|
|
# In PY<3.7 fall-back to backported `importlib_resources`.
|
|
import importlib_resources
|
|
|
|
def get_data():
|
|
return importlib_resources.read_text(__name__, 'README.html')
|