Tkinter, a lot of buttons, make prog shorter?

7stud bbxx789_05ss at yahoo.com
Sun Apr 6 23:17:38 EDT 2008


On Apr 6, 8:50 pm, skanem... at yahoo.se wrote:
> should i not use self. in Clean() and Calculate() either?
>

You probably shouldn't be using classes at all.  When you are trying
to learn the basics of a language, you don't want to complicate things
further with classes.  Copying a program off the internet and trying
to modify it for your own purposes is usually going to be a lot more
work than writing the whole thing from scratch yourself.  In addition,
when you write the whole thing yourself, you'll have a better
understanding of how things work.



More information about the Python-list mailing list