今天使用python写一段小程序时发现了一个容易忽略掉的变量作用域的细节。先看一下问题。 $ cat main_variable.py x = 1 if __name__ == "__main__": ...
確定! 回上一頁