I am using Python 3.6 and i have installed openpyxl 2.5.0a3. I am able to load the data into an excel using openpyxl commands.
But, I am getting the below error while trying to read from an excel.
The code I have used is,
import openpyxl
book=openpyxl.load_Workbook('sample.xlsx')
# grab the active worksheet
sheet=book.active
print(sheet[A1].value)
and the traceback I got is,
Traceback (most recent call last):
File "C:\Users\NI009KA\Desktop\python sample codes\openxyl sample 2.py", line 2, in <module>
book=openpyxl.load_Workbook('sample.xlsx')
AttributeError: module 'openpyxl' has no attribute 'load_Workbook'
And I have installed openpyxl according to the document provided only.
Kindly help