Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 18 for conn (0.031 sec.)
21.12. http.client --- HTTP プロトコルクライアント — Python 3.6.5 ドキュメント 13984
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 以下のクラスを提供しています: class http.client. HTTPConnection ( host , port=None , [ timeout , ] source_ad ... dress=None ) ¶ HTTPConnection インスタンスは、HTTP サーバとの一回のトランザ ... ンスタンスを生成します: >>> h1 = http . client . HTTPConnection ( 'www.python.org' ) >>> h2 = http . client ... . HTTPConnection ( 'www.python.org:80' ) >>> h3 = http . clie ...
https://man.plustar.jp/python/library/http.client.html - [similar]
18.4. selectors --- 高水準の I/O 多重化 — Python 3.6.5 ドキュメント 11890
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... s . DefaultSelector () def accept ( sock , mask ): conn , addr = sock . accept () # Should be ready print ... ( 'accepted' , conn , 'from' , addr ) conn . setblocking ( False ) sel ... . register ( conn , selectors . EVENT_READ , read ) def read ( conn ... , mask ): data = conn . recv ( 1000 ) # Should be ready if data : print ...
https://man.plustar.jp/python/library/selectors.html - [similar]
21.18. smtpd --- SMTP サーバー — Python 3.6.5 ドキュメント 9711
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 上限はありません。 map is the socket map to use for connections (an initially empty dictionary is a suitabl ... オブジェクト ¶ class smtpd. SMTPChannel ( server , conn , addr , data_size_limit=33554432 , map=None , ena ... 理する SMTPChannel オブジェクトを新たに生成します。 conn and addr are as per the instance variables describ ... このチャンネルを生成した SMTPServer を保持します。 conn ¶ クライアントに接続しているソケットオブジェクトを ...
https://man.plustar.jp/python/library/smtpd.html - [similar]
12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 9265
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... このモジュールを使うには、最初にデータベースを表す Connection オブジェクトを作ります。ここではデータはファ ... le.db に格納されているものとします: import sqlite3 conn = sqlite3 . connect ( 'example.db' ) 特別な名前であ ... を使うと RAM 上にデータベースを作ることもできます。 Connection があれば、 Cursor オブジェクトを作りその exe ... ドを呼んで SQL コマンドを実行することができます: c = conn . cursor () # Create table c . execute ( '''CREATE ...
https://man.plustar.jp/python/library/sqlite3.html - [similar]
17.2. multiprocessing --- プロセスベースの並列処理 — Python 3.6.5 ドキュメント 8990
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... from multiprocessing import Process , Pipe def f ( conn ): conn . send ([ 42 , None , 'hello' ]) conn . cl ... ose () if __name__ == '__main__' : parent_conn , child_conn = Pipe () p = Process ( target = f , ... args = ( child_conn ,)) p . start () print ( parent_conn . recv ()) # ... システムオブジェクトの数値ハンドル。 multiprocessing.connection.wait() を使用していくつかのイベントを同時に ...
https://man.plustar.jp/python/library/multiprocessing.html - [similar]
18.1. socket --- 低水準ネットワークインターフェイス — Python 3.6.5 ドキュメント 8716
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 27 以降。 バージョン 3.2 で追加. SO_* socket. SOMAXCONN ¶ MSG_* SOL_* SCM_* IPPROTO_* IPPORT_* INADDR_* IP ... indows のサポートが追加されました。 socket. create_connection ( address [ , timeout [ , source_address ] ] ... 続し、ソケットオブジェクトを返します。これは socket.connect() を高級にした関数です。 host が数値でないホスト ... タプル (address, port, flow info, scope id) ) socket.connect() メソッドに渡すためのものです。 次の例では exa ...
https://man.plustar.jp/python/library/socket.html - [similar]
18.6. asyncore --- 非同期ソケットハンドラ — Python 3.6.5 ドキュメント 7892
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 高レベルイベントを以下に示します: Event 説明 handle_connect() 最初にreadもしくはwriteイベントが発生した時 h ... () が呼び出されることはほとんどありません。 handle_connect ( ) ¶ ソケットの接続が確立した時に呼び出されます ... (受動的にオープンしたもの) がリモートホストからの connect() で接続され、接続が確立した時に呼び出されます。 ... (受動的にオープンしたもの) がリモートホストからの connect() で接続され、接続が確立した時に呼び出されます。 ...
https://man.plustar.jp/python/library/asyncore.html - [similar]
17.4. concurrent.futures -- 並列タスク実行 — Python 3.6.5 ドキュメント 7892
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... . request . urlopen ( url , timeout = timeout ) as conn : return conn . read () # We can use a with statem ...
https://man.plustar.jp/python/library/concurrent.futures.html - [similar]
18.2. ssl --- ソケットオブジェクトに対する TLS/SSL ラッパー — Python 3.6.5 ドキ... 7892
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... rsion={see docs} , ca_certs=None , do_handshake_on_connect=True , suppress_ragged_eofs=True , ciphers=None ... されていない場合、コンテキストの生成はそのソケットの connect() メソッドが呼ばれた後に行われます。サーバサイド ... n the OpenSSL cipher list format . do_handshake_on_connect 引数は、 socket.connect() の後に自動的に SSLハン ... will be required from the other side of the socket connection. If a certificate is received from the other ...
https://man.plustar.jp/python/library/ssl.html - [similar]
12.1. pickle --- Python オブジェクトの直列化 — Python 3.6.5 ドキュメント 7807
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... pickle . Unpickler ): def __init__ ( self , file , connection ): super () . __init__ ( file ) self . conne ... ction = connection def persistent_load ( self , pid ): # This m ... s the tuple returned by DBPickler. cursor = self . connection . cursor () type_tag , key_id = pid if type_ ... ort pprint # Initialize and populate our database. conn = sqlite3 . connect ( ":memory:" ) cursor = conn . ...
https://man.plustar.jp/python/library/pickle.html - [similar]
PREV 1 2 NEXT