> if all you want is to load all lines from the file > into a list, use: > > A = H.readlines() Yeah, but I need to remove empty lines as well... > the standard pydiom for reading from a text file > is this: It's useful. Thanks! -- Milos Prudek