On 7/6/2014 10:52 AM, Rick Johnson wrote:

So the direct reason for failure is due to the fact that the
"print()" function ONLY handles strings, not list objects.


>>> print(object())
<object object at 0x00000000020D2140>
>>> print(['abc', 'cdf'])
['abc', 'cdf']

Since the original poster did not copy the traceback from the print error, it is unclear what the error was.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to