以下附上我的code
https://gist.github.com/cj044/279f792a216ee82b25d47cfd28fdda88
还有CSV 档案
https://gist.github.com/cj044/8bb2ece639dae63fc59fa9dcce4e1716
https://github.com/cj044/VIP-HW (UI档案)
Q1:
比较有问题的是 47 ~ 60
def All_class(self): #读取全部的学生名单,存在列表里
.....................
self.ui.listView1.setModel(qlist)
每次build
https://imgur.com/U3QMTlr
Q2:
再来debug的时候 看到 https://imgur.com/1WvkoK7
实在看不懂橘色框框的东西 self : < __main ___
这样无助于我解bug
Q3:
Gituub All gists 的两个档案
https://gist.github.com/cj044/279f792a216ee82b25d47cfd28fdda88
还有CSV 档案
https://gist.github.com/cj044/8bb2ece639dae63fc59fa9dcce4e1716
该如何跟
https://github.com/cj044/VIP-HW
放在同一个资料档?
解了三天,google python qlist = QStringListModel() 还是无解?
只得到这个 https://its401.com/article/LaoYuanPython/104050416
谢谢!