读书人

模块的_name_

发布时间: 2012-10-26 10:30:59 作者: rapoo

模块的__name__

?

$ python using_name.pyThis program is being run by itself$ python>>> import using_nameI am being imported from another module>>> 
?

读书人网 >编程

热点推荐