Colin J. Williams wrote: > class arSpread(object): > def __init__(self, fileId= None, ar= None): > if fileId: > if ar is not None: > print fileId > self.connect(fileID, mode= 'r') # open sheet in the read mode > else: > self.connect(fileID, mode= 'w') # open the sheet in the
'dOH! <smack's head>. Change to self.connect(fileId, ...) :) -- Paul McNett http://paulmcnett.com http://dabodev.com -- http://mail.python.org/mailman/listinfo/python-list