Ah, sorry. I missed the fact that num is not global.
You need to define "num" as global in Insert:
def Insert():
global num
num += 1
input = ent.get()
... This is to tell Python that you want to use the "num" that has a global scope, rather than to create a new variable called "num" local to the function.