Linux (Arch) compat report, if you care: worked fine on my system when I commented out the two lines that call tk.Tk().iconbitmap('icon.png') - not sure why that fails.
I will for sure look into this