Output Formatting: repr
#The repr module provides an version of repr() for abbreviated displays of large or #deeply nested containers: import repr print repr.repr(set('supercalifragilisticexpialidocious'))