0
new_list = eval(my_list[0]) # my_list contains dictionaries
def get_next_file():
for key, value in new_list.iteritems():
yield value
file = get_next_file
book = xlrd.open_workbook(file_contents=file)
for sheet in book.sheet_names():
print sheet
私はdictから文字列を取り出し、xlsファイルに変換して処理できるようにしようとしています。それは私のデータベースに保存できるように私はstr(list(xls_file))を使用したxlsファイルでした。python処理のために文字列をxlsドキュメントに変換します。
どのような考えですか?
保存された文字列は、いくつかの単語を含む16進数として表示されます。