Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List box
#1
I have 300 pieces of music, each with its unique number, and first line. I want to write a programme where the user uses a list box? to select a piece of music, either by title or first line, and the corresponding number appears in another list box. Any help/ guidance appreciated.
Thanks
Reply
#2
it will help a lot if you specify what GUI framework is used
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
I intend to use python tkinter
Reply
#4
Even before starting to program tkinter, you need a place to store the 300 items.
You don't specify, but maybe they are in a csv file, or you need to make one.
Alternatives to store the data are excel, or even SQLite, but that will demand more work and extra modules to import.
Once we know where the data comes from, we can start building the Tkinter GUI.

Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020