def select_bw2_dir_path(self):
folder_path = QtWidgets.QFileDialog().getExistingDirectory(
None, "Select a brightway2 database folder")
# TODO: in case of a directory that does not contain an existing brightway2 database,
# ask if a new db should be set up
print(folder_path)
self.switch_brightway2_dir_path(folder_path)
return folder_path
controller.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录