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