PATH = 'filename.xlsx'
if os.path.isfile(PATH):
    print('File exists and will be overwrite NOW')
else:
    print('The file is missing, new one is created')
How to write/update data into cells of existing XLSX workbook using xlsxwriter in python