I have this array:
rows = ['1393586700', 'BLAHBLAH', 'BLEHBLEH', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0']
and this format String:
format String: """%s , %s , %s , %s , %s , %s , %s , %s , %s , %s , %s , %s , %s , %s , %s , %s , %s"""
and this fails:
print 'test: ', formatStr % rows
print 'test: ', formatStr % rows
TypeError: not enough arguments for format string
Why is it failing? there are exactly the same number of %s and fields!
Thanks!