r = ['a.sh/n', 'b.sh/n', 'c.sh/n']
r = map(lambda x: x.strip(), r)

print r