sys-System-specific Configuration Interpreter Settings sys包含用于访问解释器的编译时或运行时配置设置的属性和函数. Build-time Version Information sys.version:一个字符串,包含Python解释器的版本号以及版本号和使用的编译器的额外信息.交互式解释器启动时将显示此字符串.不用从它提取版本信息,使用version_info和platform模块所提供的函数. sys.version_info:一个包
textwrap textwrap模块可以用来格式化文本, 使其在某些场合输出更美观. 他提供了一些类似于在很多文本编辑器中都有的段落包装或填充特性的程序功能. Example Data 本节中的示例使用模块textwrap_example.py,它包含一个字符串sample_text. sample_text = ''' The textwrap module can be used to format text for output in situations where pretty-pr