load_xl
Configuration Parser
View on GitHubInstallation:
=> pip install load_xl
Usage:
import load_xl
import os
# Test envi file parsing and loading into Environment Variables
try:
load_xl.load_envi_file('.envi')
print(os.environ['TEST'])
print(os.environ['TEST_ENV'])
except load_xl.EnviFileParsingError as e:
print("Error in parsing envi file: {e}")