Spaces:
Running
Running
File size: 296 Bytes
f52daa3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# csv_reader.py
import sys
import csv
def main():
if len(sys.argv) > 1:
print("Warning: This script ignores any command-line arguments.", file=sys.stderr)
reader = csv.reader(sys.stdin)
for row in reader:
print(f"Row: {row}")
if __name__ == "__main__":
main()
|