is there an equivilent of perl's chomp() in python or do I have to write the function myself? cheers, Angus.