list.append problem?
list.append problem? Bob Parnes rparnes at megalink.net Tue Oct 2 09:36:07 EDT 2001. Previous message (by thread): scripting windows apps.
list.append problem? Bob Parnes rparnes at megalink.net Tue Oct 2 09:36:07 EDT 2001. Previous message (by thread): scripting windows apps.
Hi Kent, Thank you for your suggestion. I keep getting IOError permission denied every time I try the tips that you provided. I tried to lookup on this error and did not get reasonable answer. Is this error something to do with Windows OS?
list.append() returns none. It modifies the list object in place, but it >>> doesn't return anything. So that statement modifies the result object, >>> appending the sublist to it, then it sets it to None.
block calls the function append_row.What if you have append_row return a Boolean? True on success, False on failure but situation handled (i.e. append_row has shown an error, or whatever recovery you adopt).