Layout_interface.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:BrainModulyzer 作者: sugeerth 项目源码 文件源码
def getSnapshots(self):
        """ Logic to retrieve the snapshots from the output file """
        files = None
        files = [ f for f in os.listdir(self.directory_path[0]) if os.path.isfile(os.path.join(self.directory_path[0],f)) ]
        self.screenshot.listFiles.clear() 
        for i,fileName in enumerate(files):
            item = None
            item = QtGui.QListWidgetItem(unicode(fileName),self.screenshot.listFiles)       
        self.screenshot.show()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号