Extract data and settings from Excel tables using python