我知道PHP中的 $GLOBALS 大致等同于Python的 globals() ,但是是否有 locals() 的等效项? 我的Python: >>> g = 'global' >>> def test(): ... l = 'local' ... print ...
確定! 回上一頁