Python的命名空间就是它的符号表。查看局部和全局的命名空间用命令locals()和globals() reference https://www.maixj.net/ict/locals-globals-18994