Commit 5f081c11 by arun.uday

Merge remote-tracking branch 'origin/master'

parents 6d87d9e1 5ad85be7
# Reading the conf file
import configparser
from scripts.constants.app_constants import exception_msg
# config object
config = configparser.RawConfigParser()
config.read("conf/application.conf")
try:
config = configparser.RawConfigParser()
config.read("conf/application.conf")
# reading paths from conf file
path_excel = config.get("file_path", "excel_path")
path_time = config.get("file_path", "json_time")
path_pivot = config.get("file_path", "json_pivot")
path_melt = config.get("file_path", "json_melt")
path_merge = config.get("file_path", "json_merge")
# reading paths from conf file
path_excel = config.get("file_path", "excel_path")
path_time = config.get("file_path", "json_time")
path_pivot = config.get("file_path", "json_pivot")
path_melt = config.get("file_path", "json_melt")
path_merge = config.get("file_path", "json_merge")
# reading date format from conf file
date_format = config.get("Date_format", "date_format")
# reading date format from conf file
date_format = config.get("Date_format", "date_format")
except Exception as e:
print(f'{exception_msg} {e}')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment