Enable importing other source files
This commit is contained in:
3
smnp/program/FileReader.py
Normal file
3
smnp/program/FileReader.py
Normal file
@@ -0,0 +1,3 @@
|
||||
def readLines(file):
|
||||
with open(file, 'r') as source:
|
||||
return [line.rstrip('\n') for line in source.readlines()]
|
||||
Reference in New Issue
Block a user