research-rainfallradar/aimodel/src/lib/io/readfile.py
Starbeamrainbowlabs c0a9cb12d8
ai: start creating initial model implementation.
it's not hooked up to the CLI yet though.
Focus is still on ensuring the dataset is in the right format though
2022-08-10 19:03:25 +01:00

7 lines
No EOL
124 B
Python

import io
def readfile(filepath):
handle = io.open(filepath, "r")
content = handle.read()
handle.close()
return content