好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

tw.forms

tw.forms

http://hi.baidu.com/ipress/blog/item/010c8f8bfa0988dafc1f1072.html

python fileinput module

 释译python fileinput中的description

refercence:

使用global语句

如果你想要为一个定义在函数外的变量赋值,那么你就得告诉Python这个变量名不是局部的,而是全局的。我们使用global语句完成这一功能。没有global语句,是不可能为定义在函数外的变量赋值的。

 

Note 2: We used the file() function to open the file, older versions of Python used the built in function open() instead. The parameters are identical but since open() is still the preferred mechanism we will usually use open() however, if you find file() more logical then feel free to use that instead.

 

查看更多关于tw.forms的详细内容...

  阅读:47次