pyexcel : Save in downloads folder the xls file exported

135 Views Asked by At

I'm new with pyexcel, i'm programing in django and python and i export an array with the folowing code

pyexcel.isave_as(array=array_of_data, dest_file_name=('%(name)s.xls') % {'name':model.name})

my problem is the file is exported and save it but, i dont want to save it in the program folder, i want to select that the .xls is downloaded in the downloads folder

0

There are 0 best solutions below