aboutsummaryrefslogtreecommitdiff
path: root/scripts/worker.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-21 16:56:30 -0500
committerFrederick Muriuki Muriithi2024-10-21 16:56:30 -0500
commit4204f636ab242e2b73d6a7c8ed1cd6b0c7b925ce (patch)
tree97252908b8d70e57f0fa6e07bd411f26a7433da7 /scripts/worker.py
parentc53b93a4aa1d165159144acca523011cd75d1531 (diff)
downloadgn-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