查了一下stackoverflow: Python function global variables?,. 原來要存取全域變數,要使用global <variable name> 指令才行,. 太久沒用都忘了…
確定! 回上一頁