Automatically support new changes with Python.
Posted
by Zachary Brown
on Stack Overflow
See other posts from Stack Overflow
or by Zachary Brown
Published on 2010-05-17T23:42:06Z
Indexed on
2010/05/18
0:20 UTC
Read the original article
Hit count: 488
I was working on a program,that I need to support new additions. Hmmm. Let me give you some background on the program.
It is an educational software program that has quizzes for the user to take, just to gain odd knowledge. Now, It currently supports 6 subjects, all organized with directores on the HDD ( i.e. the Science directory is called science. ) and the way you launch the subject to see what quizzes you have to take is by pushing a button on the home screen.
This sort of thing prevents easy subject additions. I want to be able to add a subject later on without having to recode the home screen and re organize all the buttons. I would use a Listbox and os.listdir(...), but I was kind of wanting something prettier than a Listbox. I am using Tkinter on Windows. The Python version I am using is 2.6
Is there a "fancy" listbox sort of thing that can be styled to work with the background?
© Stack Overflow or respective owner