librarystandards.py@70f8049623ec
librarystandards.py
Tue, 25 Aug 2020 21:31:41 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Tue, 25 Aug 2020 21:31:41 +0300
- changeset 96
- 70f8049623ec
- parent 89
-
d2b277cb948e
- permissions
- -rw-r--r--
move library-standards.ini to top directory
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)