Python provides support for octal (base 8) and hexadecimal (base 16) Numbers.
Python可以提供对八进制(以8为基数)和十六进制(以16为基数)数字的支持。
Function to return the octal value of a number.
函数返回某个数字的八进制值。
You can also set permissions using octal Numbers instead of symbols.
您还可以使用八进制取代符号设置权限。
It is represented symbolically by t and numerically as a 1 in the high-order octal digit.
用符号表示就是t,用数字表示就是八进制位的高阶为1。
Note: a numeric file mode is a octal digit from 0 to 7, or a three-bit number, one bit for each of read, write, and execute.
注意:数值文件模式是从0到7的8进制数字,或三位的数值,其中每一位分别表示读、写和执行。
Permissions set in this way use up to four octal digits.
按这种方法设置的权限使用高达4位八进制数字。
While the ls command does not display the octal permissions, you can display them using the find command as shown in Listing 12.
虽然ls命令不显示八进制权限,您可以使用find命令进行显示,如清单12清单12所示。
Table 3 summarizes the symbolic and octal representation for the three access modes discussed here.
表3总结了这里讨论的3种访问模式的符号和八进制表示。
In the output above, Git is telling us about file modes; 100644 refers to the octal version of the permission bits on those files.
在上面的输出当中,Git向我们显示有关文件模式的信息;100644表示这些文件的权限的八进制版本。
Returns the octal value of a specified number.
返回表示数字八进制值的字符串。
It can display data in ASCII, decimal, hex, and octal formats.
它能够显示ASCII的数据,小数,十六进制和八进制格式。
Glass octal type used in power supply of radio equipment having moderate dc requirements.
玻璃八进制型用于电力供应的无线电设备具有温和直流要求。
Hexadecimal number number 79 corresponding octal for 144.
十六进制数79对应的八进制数为144。
Combining this with the earlier permission information, you can see that the full octal representation corresponding to Greg's lpi101 permissions and access modes of drwxrwsr-t is 3775.
将这些和早先的权限信息结合在一起,您可以看到对应greg的lpi101权限和drwxrwsr - t访问模式的完整的八进制表示是3775。
Integer constants can be defined in decimal, hex or octal notation.
可以用十进制、十六进制或八进制记数法定义整数常数。