Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 54 for handle (0.028 sec.)
20.2. html.parser--- HTML および XHTML のシンプルなパーサー — Python 3.6.5 ドキ... 14596
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... HTMLParser class MyHTMLParser ( HTMLParser ): def handle_starttag ( self , tag , attrs ): print ( "Encounte ... red a start tag:" , tag ) def handle_endtag ( self , tag ): print ( "Encountered an end ... tag :" , tag ) def handle_data ( self , data ): print ( "Encountered some da ... きされることを想定されています。基底クラスの実装は ( handle_startendtag() を除き) 何もしません: HTMLParser. ha ...
https://man.plustar.jp/python/library/html.parser.html - [similar]
21.21. socketserver --- ネットワークサーバのフレームワーク — Python 3.6.5 ドキ... 13038
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... socketserver. TCPServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ This uses the I ... socketserver. UDPServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ This uses datag ... server. UnixStreamServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ class socketser ... ver. UnixDatagramServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ These more infr ...
https://man.plustar.jp/python/library/socketserver.html - [similar]
18.6. asyncore --- 非同期ソケットハンドラ — Python 3.6.5 ドキュメント 12311
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 定できる高レベルイベントを以下に示します: Event 説明 handle_connect() 最初にreadもしくはwriteイベントが発生した ...handle_close() 読み込み可能なデータなしでreadイベントが発 ... 生した時 handle_accepted() listen中のソケットでreadイベントが発生し ... ントは、サブクラスでオーバライドすることが可能です: handle_read ( ) ¶ 非同期ループで、チャネルのソケットの re ...
https://man.plustar.jp/python/library/asyncore.html - [similar]
21.22. http.server --- HTTP サーバ — Python 3.6.5 ドキュメント 8099
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... うになります: def run ( server_class = HTTPServer , handler_class = BaseHTTPRequestHandler ): server_address ... ' , 8000 ) httpd = server_class ( server_address , handler_class ) httpd . serve_forever () class http.serve ... r. HTTPServer ( server_address , RequestHandlerClass ) ¶ このクラスは TCPServer クラスの上に構築さ ... タンス変数からアクセスします。 HTTPServer は RequestHandlerClass の初期化のときに与えられなければならず、この ...
https://man.plustar.jp/python/library/http.server.html - [similar]
18.7. asynchat --- 非同期ソケットコマンド/レスポンスハンドラ — Python 3.6.5 ド... 8024
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ucer, if any. When the producer queue is empty the handle_write() method does nothing. You use the channel o ... bサーバは、クライアントからの接続毎に http_request_handler オブジェクトを作成します。最初はチャネルの終了条件 ... して残りのデータを無視するようにしています。この後、 handle_request() が呼び出されます。 import asynchat class ... http_request_handler ( asynchat . async_chat ): def __init__ ( self , ...
https://man.plustar.jp/python/library/asynchat.html - [similar]
Logging クックブック — Python 3.6.5 ドキュメント 7654
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Logg ... ogger . setLevel ( logging . DEBUG ) # create file handler which logs even debug messages fh = logging . Fil ... eHandler ( 'spam.log' ) fh . setLevel ( logging . DEBUG ) ... # create console handler with a higher log level ch = logging . StreamHand ... ing . ERROR ) # create formatter and add it to the handlers formatter = logging . Formatter ( ' %(asctime)s ...
https://man.plustar.jp/python/howto/logging-cookbook.html - [similar]
16.16. ctypes --- Pythonのための外部関数ライブラリ — Python 3.6.5 ドキュメント 7654
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... >> print ( windll . kernel32 ) <WinDLL 'kernel32', handle ... at ...> >>> print ( cdll . msvcrt ) <CDLL 'msv ... crt', handle ... at ...> >>> libc = cdll . msvcrt >>> Windows で ... l . LoadLibrary ( "libc.so.6" ) <CDLL 'libc.so.6', handle ... at ...> >>> libc = CDLL ( "libc.so.6" ) >>> li ... bc <CDLL 'libc.so.6', handle ... at ...> >>> 16.16.1.2. ロードしたdllから関数に ...
https://man.plustar.jp/python/library/ctypes.html - [similar]
18.5.1. 基底イベントループ — Python 3.6.5 ドキュメント 7579
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... コールバックが呼び出されたときに渡されます。 asyncio.Handle のインスタンスを返します。それを使用してコールバッ ... をします。 delay は int または float です。 asyncio.Handle のインスタンスを返します。それを使用してコールバッ ... ソッドの振る舞いは call_later() と同じです。 asyncio.Handle のインスタンスを返します。それを使用してコールバッ ... きる環境: UNIX のみ。 AbstractEventLoop. add_signal_handler ( signum , callback , *args ) ¶ シグナル用のハンド ...
https://man.plustar.jp/python/library/asyncio-eventloop.html - [similar]
21.26. xmlrpc.client --- XML-RPC クライアントアクセス — Python 3.6.5 ドキュメン... 7505
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... is module supports writing XML-RPC client code; it handles all the details of translating between conformabl ... logo (): with open ( "python_logo.jpg" , "rb" ) as handle : return xmlrpc . client . Binary ( handle . read ... with open ( "fetched_python_logo.jpg" , "wb" ) as handle : handle . write ( proxy . python_logo () . data ) ...
https://man.plustar.jp/python/library/xmlrpc.client.html - [similar]
26.6. unittest.mock --- 入門 — Python 3.6.5 ドキュメント 7431
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... mock = MagicMock ( return_value = sentinel . file_handle ) >>> with patch ( 'builtins.open' , mock ): ... h ... assert_called_with ( 'filename' , 'r' ) >>> assert handle == sentinel . file_handle , "incorrect file handle ...
https://man.plustar.jp/python/library/unittest.mock-examples.html - [similar]
PREV 1 2 3 4 5 6 NEXT