[Solved] Python: Add Button via Tkinter


This has nothing to do with your specific Button Code. Indentation Error occur, when your formatting is wrong. your lines always start with a specified number of blanks or tabs (called Indentation). somewhere this went wrong.

To get rid of this, check all your Indents in the beginning of your lines. And very important do not mixup tabs and blanks

2

solved Python: Add Button via Tkinter