Notice that the length of the argv list is obtained through the len function and not as a method; this is a Jython idiom and is common in many languages.
注意argv列表的长度是通过len函数而不是作为方法获得的,这是Jython的一种用法,在许多语言中也常见。
The compiler provides a built-in function, which is evaluated at compile time, to determine the length of an array (e.g. len (a)).
编译器提供了内建的功能在编译时求得一个数组的长度(如len (a))。
应用推荐