I am currently using Python3.2 in Eclipse JavaEE Indigo.
I use the function print as follows:
input = open('test.txt', 'r')
for line in input:
print(line, end='')
Eclipse reports a syntax error with
print(line, end = '')
and it suggests that
Syntax error while detecting tuple.
print Found at: builtins
print(value, ..., sep=' ', end='\n', file=sys.stdout)
However, the program runs perfectly.
Is there anything I can do to remove the error symbol or is there any better solution for this problem ?