App下載

詞條

大約有 80 項符合查詢結(jié)果 ,庫內(nèi)數(shù)據(jù)總量為 78,250 項。(搜索耗時:0.0049秒)

21.Tornado 各種網(wǎng)絡(luò)應(yīng)用程序

tornado.netutil.bind_sockets(port: int, address: Optional[str] = None, family: socket.AddressFamily = <AddressFamily.AF_UNSPEC: 0>, backlog: int = 128, flags: Optional[int] = None, reuse_port: bool = False) → List[socket.socket]創(chuàng)建綁定到給定端口和地址的偵聽套接字。返回...

http://www.o2fo.com/pytornado/pytornado-1jql3lw5.html

22.Tornado 國際化支持

...方法。要加載語言環(huán)境并生成翻譯的字符串:user_locale = tornado.locale.get("es_LA") print(user_locale.translate("Sign out"))?tornado.locale.get()? 返回最匹配的語言環(huán)境,不一定是您請求的特定語言環(huán)境。 您可以使用 ?translate()? 的附加參數(shù)來...

http://www.o2fo.com/pytornado/pytornado-2vb73lvs.html

23.Tornado 基于基本IOStream的 TCP 服務(wù)器

class tornado.tcpserver.TCPServer(ssl_options: Union[Dict[str, Any], ssl.SSLContext, None] = None, max_buffer_size: Optional[int] = None, read_chunk_size: Optional[int] = None)一個非阻塞的單線程 TCP 服務(wù)器。要使用 ?TCPServer?,請定義一個覆蓋 ?handle_stream方法的子...

http://www.o2fo.com/pytornado/pytornado-pim63lw7.html

24.Tornado 同步原語

...塊中的那些原語——它們旨在協(xié)調(diào)單線程應(yīng)用程序中的 Tornado 協(xié)程,而不是保護多線程應(yīng)用程序中的共享對象。Conditionclass tornado.locks.Condition一個?condition?允許一個或多個協(xié)程等待直到收到通知。與標準 ?threading.Condition? 類...

http://www.o2fo.com/pytornado/pytornado-n1kt3lwa.html

25.用tornado做網(wǎng)站(1)

...n.py文件 #!/usr/bin/env python # coding=utf-8 from url import url import tornado.web import os settings = dict( template_path = os.path.join(os.path.dirname(__file__), "templates"), static_path = os.path.join(os.path.dirname(__file__), "statics") ) application = tornado.web.Application( handlers =...

http://www.o2fo.com/uqmpir/9r3ewozt.html

26.Tornado 命令行解析

...便可以在任何模塊中定義選項(默認情況下它還啟用 ?tornado.log?)。 Tornado 的其余部分不依賴于該模塊,因此如果您愿意,請隨意使用 ?argparse或其他配置庫。選項必須在使用前用 ?tornado.options.define 定義,通常在模塊的頂層...

http://www.o2fo.com/pytornado/pytornado-ptb33lwn.html

27.Tornado 靈活的輸出生成

...應(yīng)用程序不會手動創(chuàng)建 Template 或 Loader 實例,而是使用 tornado.web.RequestHandler 的 ?render和 ?render_string方法,它們會根據(jù) template_path 應(yīng)用程序設(shè)置自動加載模板。 以?_tt_?開頭的變量名由模板系統(tǒng)保留,不應(yīng)由應(yīng)用程序代碼使用...

http://www.o2fo.com/pytornado/pytornado-tia23lvh.html

28.Tornado 使用OpenID 和 OAuth的第三方登錄

...方案的實現(xiàn)。 此文件中的所有類都是類混合,旨在與 ?tornado.web.RequestHandler? 類一起使用。 它們以兩種方式使用: 在登錄處理程序上,使用 ?authenticate_redirect()?、?authorize_redirect()? 和 ?get_authenticated_user()? 等方法來建立...

http://www.o2fo.com/pytornado/pytornado-f9ut3lwe.html

29.Tornado 運行和部署

由于 Tornado 提供了自己的 HTTPServer,因此運行和部署它與其他 Python Web 框架略有不同。 您無需配置 WSGI 容器來查找您的應(yīng)用程序,而是編寫一個啟動服務(wù)器的 ?main() ?函數(shù):def main(): app = make_app() app.listen(8888) IOLoop.current().start()...

http://www.o2fo.com/pytornado/pytornado-s8cr3lui.html

30.Tornado 基本路由使用

靈活的路由實現(xiàn) Tornado 使用 ?Router類實現(xiàn)將 HTTP 請求路由到適當?shù)奶幚沓绦颉?em>tornado.web.Application類是一個路由器實現(xiàn),可以直接使用,也可以使用此模塊中的類來增加靈活性。 ?RuleRouter類可以匹配比 ?Application更多的條件,或...

http://www.o2fo.com/pytornado/pytornado-os3z3lvk.html

抱歉,暫時沒有相關(guān)的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關(guān)的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關(guān)的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

21.Tornado 各種網(wǎng)絡(luò)應(yīng)用程序

tornado.netutil.bind_sockets(port: int, address: Optional[str] = None, family: socket.AddressFamily = <AddressFamily.AF_UNSPEC: 0>, backlog: int = 128, flags: Optional[int] = None, reuse_port: bool = False) → List[socket.socket]創(chuàng)建綁定到給定端口和地址的偵聽套接字。返回...

http://www.o2fo.com/pytornado/pytornado-1jql3lw5.html

22.Tornado 國際化支持

...方法。要加載語言環(huán)境并生成翻譯的字符串:user_locale = tornado.locale.get("es_LA") print(user_locale.translate("Sign out"))?tornado.locale.get()? 返回最匹配的語言環(huán)境,不一定是您請求的特定語言環(huán)境。 您可以使用 ?translate()? 的附加參數(shù)來...

http://www.o2fo.com/pytornado/pytornado-2vb73lvs.html

23.Tornado 基于基本IOStream的 TCP 服務(wù)器

class tornado.tcpserver.TCPServer(ssl_options: Union[Dict[str, Any], ssl.SSLContext, None] = None, max_buffer_size: Optional[int] = None, read_chunk_size: Optional[int] = None)一個非阻塞的單線程 TCP 服務(wù)器。要使用 ?TCPServer?,請定義一個覆蓋 ?handle_stream方法的子...

http://www.o2fo.com/pytornado/pytornado-pim63lw7.html

24.Tornado 同步原語

...塊中的那些原語——它們旨在協(xié)調(diào)單線程應(yīng)用程序中的 Tornado 協(xié)程,而不是保護多線程應(yīng)用程序中的共享對象。Conditionclass tornado.locks.Condition一個?condition?允許一個或多個協(xié)程等待直到收到通知。與標準 ?threading.Condition? 類...

http://www.o2fo.com/pytornado/pytornado-n1kt3lwa.html

25.用tornado做網(wǎng)站(1)

...n.py文件 #!/usr/bin/env python # coding=utf-8 from url import url import tornado.web import os settings = dict( template_path = os.path.join(os.path.dirname(__file__), "templates"), static_path = os.path.join(os.path.dirname(__file__), "statics") ) application = tornado.web.Application( handlers =...

http://www.o2fo.com/uqmpir/9r3ewozt.html

26.Tornado 命令行解析

...便可以在任何模塊中定義選項(默認情況下它還啟用 ?tornado.log?)。 Tornado 的其余部分不依賴于該模塊,因此如果您愿意,請隨意使用 ?argparse或其他配置庫。選項必須在使用前用 ?tornado.options.define 定義,通常在模塊的頂層...

http://www.o2fo.com/pytornado/pytornado-ptb33lwn.html

27.Tornado 靈活的輸出生成

...應(yīng)用程序不會手動創(chuàng)建 Template 或 Loader 實例,而是使用 tornado.web.RequestHandler 的 ?render和 ?render_string方法,它們會根據(jù) template_path 應(yīng)用程序設(shè)置自動加載模板。 以?_tt_?開頭的變量名由模板系統(tǒng)保留,不應(yīng)由應(yīng)用程序代碼使用...

http://www.o2fo.com/pytornado/pytornado-tia23lvh.html

28.Tornado 使用OpenID 和 OAuth的第三方登錄

...方案的實現(xiàn)。 此文件中的所有類都是類混合,旨在與 ?tornado.web.RequestHandler? 類一起使用。 它們以兩種方式使用: 在登錄處理程序上,使用 ?authenticate_redirect()?、?authorize_redirect()? 和 ?get_authenticated_user()? 等方法來建立...

http://www.o2fo.com/pytornado/pytornado-f9ut3lwe.html

29.Tornado 運行和部署

由于 Tornado 提供了自己的 HTTPServer,因此運行和部署它與其他 Python Web 框架略有不同。 您無需配置 WSGI 容器來查找您的應(yīng)用程序,而是編寫一個啟動服務(wù)器的 ?main() ?函數(shù):def main(): app = make_app() app.listen(8888) IOLoop.current().start()...

http://www.o2fo.com/pytornado/pytornado-s8cr3lui.html

30.Tornado 基本路由使用

靈活的路由實現(xiàn) Tornado 使用 ?Router類實現(xiàn)將 HTTP 請求路由到適當?shù)奶幚沓绦颉?em>tornado.web.Application類是一個路由器實現(xiàn),可以直接使用,也可以使用此模塊中的類來增加靈活性。 ?RuleRouter類可以匹配比 ?Application更多的條件,或...

http://www.o2fo.com/pytornado/pytornado-os3z3lvk.html

抱歉,暫時沒有相關(guān)的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程