best way to increment an IntVar?

Alan G Isaac alan.isaac at gmail.com
Thu Jun 24 00:43:16 EDT 2010


Of course one can do
	myintvar.set(myintvar.get()+1)
but surely there is a better way?

I'm surprsied that
	myintvar += 1
is not allowed.

Thanks,
Alan Isaac



More information about the Python-list mailing list