project栏目录结构显示class和method 左侧project 工具栏窗口 - 顶部齿轮 - show member 选项;打开show member 选项,左侧结构会显示class和method 参考:pycharm 显示当前 python 文件下的函数和类的列表 - 程序员大本营