util/fileread.py

4 lines
86 B
Python
Executable File

def fileload(filename):
with open(filename) as f:
return f.read().strip()