diff options
author | Frederick Muriuki Muriithi | 2024-10-21 16:56:30 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-10-21 16:56:30 -0500 |
commit | 4204f636ab242e2b73d6a7c8ed1cd6b0c7b925ce (patch) | |
tree | 97252908b8d70e57f0fa6e07bd411f26a7433da7 /scripts/worker.py | |
parent | c53b93a4aa1d165159144acca523011cd75d1531 (diff) | |
download | gn-uploader-4204f636ab242e2b73d6a7c8ed1cd6b0c7b925ce.tar.gz |
Add utilities for reading text files and csv files
The function `read_text_file(…)` will read the raw text file and
return the content line by line.
The function `read_csv_file(…)` builds on `read_text_file(…)` to read
a file as a character-separated-values file. The field separator, and
comment_char characters can be provided to customise how the CSV file
is read.
Diffstat (limited to 'scripts/worker.py')
0 files changed, 0 insertions, 0 deletions