I'm new to python and programming, I have a task to run the following file: http://pastebin.com/UmheVyvV with Python, but I get error on line 163:
line 163
print filename + " "*(80 - len(filename) - len(ln)) + ln + delim,
SyntaxError: invalid syntax
There's a '^' below filename in the error message.
Could anyone tell me how to solve this problem and be able to run the file? Thanks!
printis a function. SO, you need to doprint(...)