Python GUI with Tkinter - Adding items to Listbox- 23/30

preview_player
Показать описание
Day 23 - Adding songs to the playlist of tkinter

#tkinter #python #tkinter30
Рекомендации по теме
Комментарии
Автор

initialize index=0 outside of the function and call it globally inside the function so that added file will be on the final index.

mega_info
Автор

without doing more harm to my manhood xD

snlagr
Автор

How can i change the position of an element in the list ?

making-arte
Автор

"without doing more harm to my manhood" :)

lenord
Автор

Tnq sir your playlist is very useful for me
Thnakyou
Thank you
Very much💖💖💖

workspace
Автор

how to increase the size of playlist.. would you help please??

zarafshapahore
Автор

i had to use <f = os.path.basename(f.name)> instead of <f = os.path.basename(f)>

rahulsrivastava
Автор

In the add_to_playlist function, you are declaring "index = 0" on every call to that function, so the value of index is never increasing as desire as is being rest to zero. At least this is how it working on my system (Mac OS Mojave). Maybe I'm getting ahead and you'll fix it in the next segment. I'm really liking this tutorial. Thank you!

tomcarroll