import pyexcel as get_book(bookdict={" "[[ ]]}csv_stream stream texttable print(csv_stream getvalue() +--- +---where stream xls getvalue(is equivalent to xls in some situation stream xls is prefered than xls sheet examplesimport pyexcel as sheet([[ ]]' 'csv_stream stream texttable print(csv_stream getvalue() +--- +---where stream xls getvalue(is equivalent to xls in some situation stream xls is prefered than xls it is similar to save_to_memory(save changes book save_as(filename**keywordsbook save_to_memory(file_type[stream]book save_to_database(sessiontables[]book save_to_django_models(models[]save the content to new file save the content to memory stream save data in sheets to database tables save to database table through django model pyexcel book save_as book save_as(filename**keywordssave the content to new file keywords may vary depending on your file typebecause the associated file type employs different library parameters filenamea file path librarychoose specific pyexcel-io plugin for writing renderer_librarychoose pyexcel parser plugin for writing parameters related to csv file format for csvfmtparams are accepted delimiter field separator lineterminator line terminator encodingcsv specific specify the file encoding the csv file for exampleencoding='latin especiallyencoding='utf- -sigwould add utf bom header if used in rendereror would parse csv with utf brom support the project