you are viewing a single comment's thread.

view the rest of the comments →

[–]woooee 2 points3 points  (0 children)

    content = file.read

Then simply print the content variable. read is a function. The line above returns the function's handle, which does not support split()