Reading xls file


It seems I get error at line myWorkBook = XSSFWorkbook (inp)
I want to read the sheet, and inside that sheet read 20th column at every row.
I am trying to write in python plugin.

Please consider this code .https://pastebin.com/CLBg5mBv

I am getting NameError: global name ‘IOException’ is not defined