This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Printr/printr/__init__.py

15 lines
324 B
Python
Raw Normal View History

import os
2015-10-08 15:39:22 +01:00
from json import load as json_load
PRINTR_PATH = os.path.dirname(os.path.abspath(__file__))
2015-10-08 15:39:22 +01:00
from .ItterPrintr import ItterPrintr
from .EllipsisPrintr import EllipsisPrintr
with open(PRINTR_PATH + '/../details.json') as file:
PRINTR_DETAILS = json_load(file)
def get_version():
return PRINTR_DETAILS.version