list comprehension problem

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Thu Oct 29 17:20:01 CET 2009

mk a écrit :
> Hello everyone,
> print hosts
> ['\n', ' \n', '\n']

Just for the record, where did you get this "hosts" list from ? (hint : 
depending on the answer, there might be a way to avoid having to filter 
out the list)

More information about the Python-list mailing list