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

19 lines
424 B
Python
Raw Normal View History

# Import python modules
import os
from json import loads as json_loads
# Import Printr Modules
2015-09-26 14:56:49 +01:00
from .simplePrintr import SimplePrintr
from .itterPrintr import ItterPrintr
from .ellipsisPrintr import EllipsisPrintr
# Initialise
PRINTR_PATH = os.path.dirname(os.path.abspath(__file__))
with open(PRINTR_PATH + '/details.json') as file:
PRINTR_DETAILS = json_loads(file)
def get_version():
return PRINTR_DETAILS.version