I would like to know if there is a better way to print all objects in a Python list than this :
myList = [Person(\"Foo\"), Person(\"Bar\")] print(\"\\n\".joi
I use this all the time :
#!/usr/bin/python l = [1,2,3,7] print "".join([str(x) for x in l])