Skip to content

Commit 3317dfb

Browse files
Update readFile.py
Index fixed
1 parent b9b44ca commit 3317dfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

readFile.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
""" Read file into strings, removed new line and carriage return then return the strings"""
12
def readFile(file_path):
2-
""" Read file into strings, removed new line and carriage return then return the strings"""
33
with open(file_path, 'r', 'utf-8') as current_file:
44
texts = current_file.read()
55
text = texts.current_file.replace("\n","").replace("\r","")
6-
76
return text

0 commit comments

Comments
 (0)