Python - How to read Excel Sheet with Openpyxl - 1

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thank you for publishing the video. It is incredibly helpful.

kirillmiroshkhin
Автор

Thank you this is very clear and to the point! I can't wait to watch the rest of your videos

fayomifashanu
Автор

Hi,
I tried entering what you did up until 2:05 in the video, and then I got this error due to using 'get_sheet_names':
>>> import os
>>> import openpyxl
>>>
>>>
>>> wb.get_sheet_names()

Warning (from warnings module):
File "__main__", line 1
DeprecationWarning: Call to deprecated function get_sheet_names (Use wb.sheetnames).
['Sheet1', 'Sheet2', 'Sheet3']
>>>

I tried using the 'sheetnames' function instead as mentioned in the error, but can't get it to work.
Thank you for the helpful videos!

dougc