摘要:
英文文档: 2. 第一个参数为语句字符串,globals参数和locals参数为可选参数,如果提供,globals参数必需是字典,locals参数为mapping对象。 3. globals参数用来指定代码执行时可以使用的全局变量以及收集代码执行后的全局变量 4. locals参数用来指定代码执行时 阅读全文
posted @ 2016-10-25 22:16
十月狐狸
阅读(7103)
评论(0)
推荐(1)
摘要:
英文文档: This function can also be used to execute arbitrary code objects (such as those created by compile()). In this case pass a code object instead o 阅读全文
posted @ 2016-10-25 10:29
十月狐狸
阅读(4920)
评论(0)
推荐(0)
摘要:
英文文档: enumerate(iterable, start=0) Return an enumerate object. iterable must be a sequence, an iterator, or some other object which supports iteration 阅读全文
posted @ 2016-10-25 09:35
十月狐狸
阅读(821)
评论(0)
推荐(0)

浙公网安备 33010602011771号