I'm just want to read in the contents of a (text) file. The text file
is filled with semiColon delimited floating point strings...
0.456;1.265;99. 742;...
For some reason, I can't get the contents back when I call file.read()
Here's my code.
filePath = "C:\\folder\\my File.txt
fileHandle = open(filePath, 'r').read();
print fileHandle.read ()
# This prints nothing when it should print the above values.... Thanks
for the help
is filled with semiColon delimited floating point strings...
0.456;1.265;99. 742;...
For some reason, I can't get the contents back when I call file.read()
Here's my code.
filePath = "C:\\folder\\my File.txt
fileHandle = open(filePath, 'r').read();
print fileHandle.read ()
# This prints nothing when it should print the above values.... Thanks
for the help
Comment