Difference Between Append And Write In Python