>>> from string import upper >>> mylis=['this is test', 'another test'] >>> map(upper, mylis) ['THIS IS TEST', 'ANOTHER TEST']