On the other hand, if you know what you are doing you can touch a module's global variables with the same notation used to refer to its functions,modname.itemname. 另一方面,如果你確定你需要這個(gè),可以像引用模塊中的函數(shù)一樣獲取模塊中的全局變量,形如:modname.itemname。
www.dbjr.com.cn/shouce/python/python_cn... 2025-6-11