Quote
Raised when a sequence subscript is out of range. (Slice indices are silently truncated to fall in the allowed range; if an index is not a plain integer, TypeError is raised.)
Err, what? I don't understand that definition in terms of my code - the method is calling a global function to return a list, and then passing that list to another method to write the row to a CSV file (both calls are under the 'try' statement. I'm not sure which parts of code I need to post up at the moment - can someone help me understan what this exception is all about?

New Topic/Question
Reply




MultiQuote








|