librarystandards.py

Sun, 06 Sep 2020 16:32:44 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 06 Sep 2020 16:32:44 +0300
changeset 113
8c2ca8d368d4
parent 96
70f8049623ec
permissions
-rw-r--r--

changed version to 1.0

from configparser import ConfigParser
from pathlib import Path
from os.path import dirname

ini_path = Path(dirname(__file__)) / 'library-standards.ini'
library_standards = ConfigParser()

with ini_path.open() as file:
    library_standards.read_file(file)

mercurial