Velocity/core/files.py

5 lines
104 B
Python
Raw Normal View History

2022-03-17 21:47:19 +00:00
def open_file(file_name):
with open(file_name) as f:
2022-03-15 22:12:52 +00:00
lines = f.readlines()
2022-03-17 21:47:19 +00:00
return lines