Tornado 6.5 Documentation
repository as well. Prerequisites: Tornado 6.3 requires Python 3.9 or newer. The following optional packages may be useful: • pycurl is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or dict. Use tornado.gen.multi to do this in native coroutines. – can support integration with other packages including Twisted via a registry of conversion functions. To access this functionality in native you are using autoreload mode. The automatic reloading feature of debug mode is available as a standalone module in tornado.autoreload. The two can be used in combination to provide extra robustness against0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
com/tornadoweb/tornado] as well. Prerequisites: Tornado 6.3 requires Python 3.9 or newer. The following optional packages may be useful:pycurl [http://pycurl.io/] is used by the optional tornado.curl_httpclient. Libcurl dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other packages including Twisted via a registry of conversion functions. To access this functionality in native if you are using autoreload mode.The automatic reloading feature of debug mode is available as a standalone module in tornado.autoreload. The two can be used in combination to provide extra robustness against0 码力 | 437 页 | 405.14 KB | 2 月前3Rust 程序设计语言 简体中文版 1.85.0
来的示例采用了相同的 API。 现在,不修改任何代码,构建项目,如示例 2-2 所示。 $ cargo build Updating crates.io index Locking 15 packages to latest Rust 1.85.0 compatible versions Adding rand v0.8.5 (available: v0.9.0) Compiling 有许多功能可以让你管理代码的组织,包括哪些细节可以被公开,哪些细节作为私有部 分,以及程序中各个作用域中有哪些名称。这些特性,有时被统称为 “模块系统(the module system)”,包括: • 包(Packages):Cargo 的一个功能,它允许你构建、测试和分享 crate。 • Crates :一个模块的树形结构,它形成了库或可执行文件项目。 • 模块(Modules)和 use:允许你控制作用域和路径的私有性。 在本节,我们将讨论模块和其它一些关于模块系统的部分,如允许你命名项的 路径(paths); 用来将路径引入作用域的 use 关键字;以及使项变为公有的 pub 关键字。我们还将讨论 as 关 键字、外部包(external packages)和 glob 运算符(glob operator)。 首先,我们将从一系列的规则开始,在你未来组织代码的时候,这些规则可被用作简单的参 考。接下来我们将会详细的解释每条规则。 模块小抄(Cheat0 码力 | 562 页 | 3.23 MB | 9 天前3
共 3 条
- 1