[Tutor] a quick Q: how to use for loop to read a series of files with .doc end
Andreas Perstinger
andreas.perstinger at gmx.net
Sat Oct 8 07:59:27 CEST 2011
On 2011-10-08 06:07, lina wrote:
> Still have a reading "multiple" files issue:
>
> Traceback (most recent call last):
> File "counter-vertically-WORKING.py", line 26, in<module>
> results[ch][col]+=1
> IndexError: list index out of range
>
> only one file ss_1.xpm was processed and wrote file, for the rest ss_2.xpm,
> ss_3.xpm and following keep intact,
>
> any suggestions?
Could you provide links to your current script file
(counter-vertically-WORKING.py) and your data files(ss_1.xpm, ss_2.xpm,
...)?
Bye, Andreas
More information about the Tutor
mailing list