1.dir():打开,看见 2.help():说明书 使用方法: dir(pytorch) 输出:1,2,3,4 dir(pytorch.3) 输出:a,b,c help(pytorch.3.a) 输出:说明a的用法