Created
January 21, 2019 16:32
-
-
Save ianballou/1870d7629a4e501838044e63127891dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "table_test.py", line 17, in <module> | |
rows=['Potato', 'corn'])) | |
File "table_test.py", line 12, in make_table | |
output_table.add_row(row) | |
File "/home/ian/.local/lib/python2.7/site-packages/prettytable.py", line 818, in add_row | |
raise Exception("Row has incorrect number of values, (actual) %d!=%d (expected)" %(len(row),len(self._field_names))) | |
Exception: Row has incorrect number of values, (actual) 6!=2 (expected) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment