CSV Loader
This commit is contained in:
@ -39,14 +39,14 @@ def main():
|
||||
|
||||
result = csv_loader.read_rows()
|
||||
|
||||
"Results:"
|
||||
for row in result.rows:
|
||||
print(row)
|
||||
"Results:"
|
||||
for row in result.rows:
|
||||
print(row)
|
||||
|
||||
if result.has_errors():
|
||||
print("Errors:")
|
||||
for error in result.errors:
|
||||
print(f"Line: {error.line_number}: {error.original_error}")
|
||||
if result.has_errors():
|
||||
print("Errors:")
|
||||
for error in result.errors:
|
||||
print(f"Line: {error.line_number}: {error.original_error}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user