Python 的命名空間通過一種字典的形式來體現,而具體到函數也就是locals, ... def aaaa(): print locals() s = 'test' # 加入顯示賦值s for i in ['a', ...
確定! 回上一頁