librarystandards.py@cfa961e5e578
librarystandards.py
Thu, 27 Aug 2020 00:27:42 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Thu, 27 Aug 2020 00:27:42 +0300
- changeset 111
- cfa961e5e578
- parent 96
-
70f8049623ec
- permissions
- -rw-r--r--
...
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)