使用Registry预览版时的第二个注意事项是决定怎样设置语言环境。
The second consideration when using the Registry Preview is deciding how to set the locale.
首先必须调用setlocale (LC_CTYPE,“ ”)函数,依据环境变量设置语言环境。
The setlocale (LC_CTYPE, ) function must be called to set the locale according to the environment variables first.
对于UNIX操作系统,将从地区设置推导出环境,包括语言、区域和编码集。
For the UNIX operating system, the active environment will be derived from locale setting including language, territory, and code set.
When I'm talking to the interpreter, when I'm typing things in as I just did, to that Python environment, I'm getting what I'm going to call global bindings.
当我和解释器对话时,我会向我说的一样进行输入,输入到Python语言环境中,我会设置全局变量。
应用推荐