TypeError: 'Worksheet' object is unsubscriptable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reshmanth
    New Member
    • Feb 2016
    • 1

    TypeError: 'Worksheet' object is unsubscriptable

    I am trying to read the worksheet book and couldnt read.

    >>> sheet['A1']
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    TypeError: 'Worksheet' object is unsubscriptable


    I can read the sheets by:

    >>> wb.get_sheet_na mes()
    ['Sheet1', 'Sheet2', 'Sheet3']

    (I am doing this in python interpretor)
    can anyone help me out with this?

    Thankyou
Working...