Python Forum
List box - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: List box (/thread-27491.html)



List box - mckenzierobert - Jun-08-2020

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


RE: List box - buran - Jun-08-2020

it will help a lot if you specify what GUI framework is used


RE: List box - mckenzierobert - Jun-08-2020

I intend to use python tkinter


RE: List box - DPaul - Jun-12-2020

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