赵乐ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月21日

摘要: 1. list相关的有一个比较有趣的问题,就是mystuff.append('hello'),python是怎么解释的。这里有段话讲的比较清楚,就不翻译了,直接贴过来。Python sees you mentionedmystuffand looks up that variable. It might have to look backwards to see if you created with=, look and see if it is a function argument, or maybe it's a global variable. Either 阅读全文
posted @ 2013-03-21 21:27 赵乐ACM 阅读(900) 评论(0) 推荐(0) 编辑