Google Python Style GuideGoogle Python Style Guide Google Python Style Guide Revision 2.59 Amit Patel Antoine Picard Eugene Jhong Jeremy Hylton Matt Smart Mike Shields Each style point has a summary for which additional information You may toggle all summaries with the big arrow button: Toggle all summaries Table of Contents Python Language Rules Lint Imports Packages Exceptions Global variables Nested/Local/Inner Classes and Functions Deprecated Language Features Lexical Scoping Function and Method Decorators Threading Power Features 1 Python Style Rules Semicolons Line length Parentheses Indentation Blank Lines Whitespace Shebang Line Comments0 码力 | 30 页 | 94.81 KB | 1 年前3
2023 中国开源开发者报告执行官一职,并离开 OpenAI 董事会。现任首席技术官 Mira Murati 将临时 担任首席执行官,该任命立即生效。 LangChain 是封装了大量 LLM 应用开发逻辑和工具集成的开源 Python 库, 提供了一套工具、组件和接口,简化创建由 LLM 和聊天模型提供支持的应 用程序的过程。 创新工场董事长兼 CEO 李开复今年 3 月创办 AI 大模型创业公司 “零一万物”。 11 月,零一万物推出 PyTorch 2.0 版本包括稳定版的 Accelerated Transformers(以前称为 Better Transformers)。PyTorch 是一个 Torch7 团队开源的 Python 优 先的深度学习框架。 21 / 87 1 1 Slint 1.0 正式发布 DragonflyDB 1.0 正式发布 开源开发者事件回顾 FerretDB 1.0 正式 GA Layui 月发布,标志着项目已顺利从开发阶段 “毕业”, 可正式用于生产环境。Slint(最初称为 "SixtyFPS")是一个 Rust 编写的 综合性 UI 工具包,用于为桌面和嵌入式设备构建原生用户界面。 Python 深度学习框架 Keras 3.0 一统江湖 Keras 3.0 被誉为改变了机器学习游戏 规则:不仅支持 TensorFlow、PyTorch、 Jax 三大框架作为后端,还能在它们之 间无缝切换,甚至混合使用。0 码力 | 87 页 | 31.99 MB | 1 年前3
The Weblate Manual 2.5Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Javascript format • AngularJS interpolation string so you should really keep the format string matching the original one. See also: Python string formatting, Python brace format, PHP format strings, C printf format, AngularJS: API: $interpolate Missing translation system supports this, you should use plural aware variant of it. For example with Gettext in Python it could be: from gettext import ngettext print ngettext('Selected %d file', 'Selected %d files'0 码力 | 166 页 | 1.38 MB | 1 年前3
The Weblate Manual 2.6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 9 Weblate’s Python API 153 9.1 Instalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 12 License 171 13 Indices and tables 173 HTTP Routing Table 175 Python Module Index 177 iii iv Weblate Documentation, Release 2.6 Contents: Contents 1 Weblate Documentation Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Javascript format • AngularJS interpolation string0 码力 | 188 页 | 1.43 MB | 1 年前3
The Weblate Manual 2.8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 10 Weblate’s Python API 169 10.1 Instalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 13 License 187 14 Indices and tables 189 HTTP Routing Table 191 Python Module Index 193 iii iv Weblate Documentation, Release 2.8 Contents: Contents 1 Weblate Documentation Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Javascript format • AngularJS interpolation string0 码力 | 205 页 | 1.54 MB | 1 年前3
The Weblate Manual 2.7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 10 Weblate’s Python API 155 10.1 Instalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 13 License 173 14 Indices and tables 175 HTTP Routing Table 177 Python Module Index 179 iii iv Weblate Documentation, Release 2.7 Contents: Contents 1 Weblate Documentation Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Javascript format • AngularJS interpolation string0 码力 | 190 页 | 1.44 MB | 1 年前3
The Weblate Manual 2.11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 10 Weblate’s Python API 187 10.1 Instalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 13 License 207 14 Indices and tables 209 HTTP Routing Table 211 Python Module Index 213 iii iv Weblate Documentation, Release 2.11 Contents: Contents 1 Weblate Documentation Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Javascript format • AngularJS interpolation string0 码力 | 226 页 | 1.63 MB | 1 年前3
The Weblate Manual 2.10.1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 10 Weblate’s Python API 185 10.1 Instalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 13 License 205 14 Indices and tables 207 HTTP Routing Table 209 Python Module Index 211 iii iv Weblate Documentation, Release 2.10.1 Contents: Contents 1 Weblate Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Javascript format • AngularJS interpolation string0 码力 | 224 页 | 1.62 MB | 1 年前3
The Weblate Manual 2.17.1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 10 Weblate’s Python API 215 10.1 Instalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 14 License 243 15 Indices and tables 245 HTTP Routing Table 247 Python Module Index 249 iv Weblate Documentation, Release 2.17.1 Contents: Contents 1 Weblate Documentation Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Perl format • Javascript format • AngularJS interpolation0 码力 | 263 页 | 2.85 MB | 1 年前3
The Weblate Manual 2.17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 10 Weblate’s Python API 215 10.1 Instalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 iii 14 License 241 15 Indices and tables 243 HTTP Routing Table 245 Python Module Index 247 iv Weblate Documentation, Release 2.17 Contents: Contents 1 Weblate Documentation Format strings Format string does not match source. Weblate supports following formats: • Python format • Python brace format • PHP format • C format • Perl format • Javascript format • AngularJS interpolation0 码力 | 261 页 | 2.86 MB | 1 年前3
共 448 条
- 1
- 2
- 3
- 4
- 5
- 6
- 45













