librarystandards.py@4b89e66f274a
librarystandards.py
Fri, 18 Sep 2020 21:13:58 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Fri, 18 Sep 2020 21:13:58 +0300
- changeset 136
- 4b89e66f274a
- parent 96
-
70f8049623ec
- permissions
- -rw-r--r--
added physical color unit test
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)