i have recently encountered some return values in python interactive mode(i never get create_line function's return values in script mode and in case testing the lines individual in interactive mode i get return values but the function does not create lines like i expected). I was wondering what these meant and why is the line not getting created. Here are the few I have encountered till now:
>>> canvas.create_line(134,100,134,400)
1
>>>
and i got these return values too
>>> def shape():
canvas.create_line(134,100,134,400)
canvas.create_line(134,400,234,400)
canvas.create_line(234,100,234,400)
canvas.create_line(234,100,134,100)
>>> shape()
>>> canvas.create_line(134,100,134,400)
5
>>> canvas.create_line(134,400,234,400)
6
>>> canvas.create_line(234,100,234,400)
7
>>> canvas.create_line(234,100,134,100)
8
>>>
in this code, when i called shape function then it did not create the lines. Calling these lines individually gave me these return values, the odd this was how the values started from 5 and then went till 8 consecutively. Can someone please tell if this is a bug or do these numbers have a meaning?