self.test1 = input[column += 1]
Error
self.test1 = input[column += 1]
^
SyntaxError: invalid syntax
self.test1 = input[column += 1]
Error
self.test1 = input[column += 1]
^
SyntaxError: invalid syntax
I guess you mean one of these:
self.test1 = input[column + 1]
or
column += 1
self.test1 = input[column]
or
self.test1 = input[column]
column += 1
the column +=1
can not appear in code like what you wrote, because it doesn't have/return a value.
In C/C++ you can have that expression, but even that should be used carefully. In Python there is no operation like that.
column += 1
can not be used in the way you are using it because it is a statement rather than an expression.
What you are writing is equivalent to self.test1 = input[column = column + 1]
which doesn't much sense.
Instead you would need to do:
column += 1
self.test1 = input[column]
or
self.test1 = input[column]
column += 1
depends on which one you were looking for.
Also, since you asked in your title, ++
or --
does not exist in python.