Some time ago I asked one question, and a lot of people suggested me to change __str__()
to str(some object)
.
for example:
e_address = f_name+l_name+year.__str__()+day.__str__()
Change to :
e_address = f_name+l_name+str(year)+str(day)
So my question is why it is better? Are there any performance difference, or it is more pythonic way of programming?