Valueerror: Zero Length Field Name In Format With Read And Write
Does anybody know if it is possible to avoid the error ValueError: zero length field reading/writing from/to a file with Python 2.6.6 as specified in the following: File 'format.p
Change
"{:<{width}}".format(col, width=widths[index])
into
"{0:<{1}}".format(col, widths[index])
Coz in older release of python, you need to point out the order of multiple format field.
You may like these posts
Post a Comment for "Valueerror: Zero Length Field Name In Format With Read And Write"