I have a python file on path: ...Desktop/Python_files/python_file.py
I want to create an excel file stored on path: ...Desktop/Excel_files/exceL_file.xlsx
I want to do this using a relative path. This means that I want to step back from Python_files, go into Excel_files and create exceL_file.xlsx. The syntax below is not working for this. How should I modify it?
workbook = xlsxwriter.Workbook(' ../Excel_files/exceL_file.xlsx')
I am using python 2.7.