5 lines
113 B
Python
5 lines
113 B
Python
def read_file(filepath):
|
|
with open(filepath, "r") as file:
|
|
content = file.read()
|
|
return content
|
|
|