python how to print a list in a object code example Example: print all objects in list python for p in myList: print p