diff options
Diffstat (limited to 'domestic/utility/read_file.py')
-rw-r--r-- | domestic/utility/read_file.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/domestic/utility/read_file.py b/domestic/utility/read_file.py new file mode 100644 index 0000000..7c9fcea --- /dev/null +++ b/domestic/utility/read_file.py @@ -0,0 +1,3 @@ +def read_file(location): + with open(location, 'rb') as f: + return f.read()
\ No newline at end of file |