python无法读取excel_使用openpyxl无法读取Excel文件

I have a list of excel files with similar last row. It contains private information about client (his name, surname, phone). Each excel file corresponds to a client. I need to make one excel file with all data about every client. I decide to do it automatically, so looked to openpyxl library. I wrote the following code, but it doesn't work correctly.

import openpyxl

import os

import glob

from openpyxl import load_workbook

from openpyxl import Workbook

import openpyxl.styles

from openpyxl.cell import get_column_letter

path_kit = 'prize_input/kit'

#creating single document

prize_info = Workbook()

prize_sheet = prize_info.active

file_array_reciever = []

for file in glob.glob(os.path.join(path_kit, '*.xlsx')):

file_array_reciever.append(file)

你可能感兴趣的:(python无法读取excel)