Importing module not working
Your directory structure let me think that you should try to import like this :
from first_page.ExcelToXML.main import excelToXml
because the ExcelToXML is under the first_page module, so it is viewed as a submodule of first_page.