Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AttributeError: 'module' object has no attribute 'workbook'

Hello all, I am receiving an error when trying to read an Excel document. I am not sure why.

 import os, sys

 PSSE_LOCATION = r"C:\Program Files (x86)\PTI\PSSE33\PSSBIN"

 sys.path.append(PSSE_LOCATION)

 import excelpy

testxls = excelpy.workbook(xlsfile, mode='r')