11 lines
220 B
Python
11 lines
220 B
Python
|
|
# Read file into an array of strings
|
|
def fs_aux_readFile(
|
|
fileName: str
|
|
) -> [str]:
|
|
lines = []
|
|
with open(fileName) as file:
|
|
for line in file:
|
|
lines.append(line.rstrip())
|
|
return lines
|