2020-03-18 00:00:05 +00:00
|
|
|
#!/usr/bin/python3
|
2020-03-18 00:00:00 +00:00
|
|
|
|
2020-03-18 00:00:15 +00:00
|
|
|
try:
|
|
|
|
|
import importlib.resources as importlib_resources
|
|
|
|
|
except ImportError:
|
|
|
|
|
# In PY<3.7 fall-back to backported `importlib_resources`.
|
|
|
|
|
import importlib_resources
|
2020-03-18 00:00:00 +00:00
|
|
|
|
2020-03-18 00:00:15 +00:00
|
|
|
with importlib_resources.path('china_dictatorship', 'README.html') as readme_html_path:
|
|
|
|
|
with open(readme_html_path) as f:
|
|
|
|
|
print(f.read())
|