Python Error: Couldn't read from RWops

后端 未结 1 1196
误落风尘
误落风尘 2020-12-12 01:39

I\'m trying to make a small music player with tkinter, and pygame, by loading a file and then playing it. Everything works fine if I place the file-name into



        
1条回答
  •  孤街浪徒
    2020-12-12 02:05

    askopoenfile returns a handle to an open file. If you want a file name, call askopenfilename instead.

    0 讨论(0)
提交回复
热议问题