python namespace

  导入包名,相当于在当前域中声明一个包标识符,那么当前域中不能在声明同样的标识符

 package.__file__: print the package location, e.g. os.__file__

dir(__builtins__): show all builtin functions

posted @ 2019-03-01 11:27  岁月长河  阅读(281)  评论(0编辑  收藏  举报