标签:
i = 0def myFun(): global i i=i +1 return i
myFun()
==========================
accumulate( )
total = 0def accumulate(): global total total += 1 return total
arcgis python 更新顺序号
原文地址:http://www.cnblogs.com/gisoracle/p/5353755.html