Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 42 for request (0.027 sec.)
21.6. urllib.request --- URL を開くための拡張可能なライブラリ — Python 3.6.5 ド... 12882
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... インターネットプロトコルとサポート » 21.6. urllib.request --- URL を開くための拡張可能なライブラリ ¶ ソースコ ... ード: Lib/urllib/request.py urllib.request モジュールは基本的な認証、暗号化 ... り高水準の HTTP クライアントインターフェイスとしては Requests パッケージ がお奨めです。 urllib.request モジュー ... ルでは以下の関数を定義しています: urllib.request. urlopen ( url , data=None , [ timeout , ] * , caf ...
https://man.plustar.jp/python/library/urllib.request.html - [similar]
urllib パッケージを使ってインターネット上のリソースを取得するには — Python 3.6.... 12418
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » urll ... チュートリアルで Python の例がついています。 urllib.request は URLs (Uniform Resource Locators) を取得するため ... と呼ばれるオブジェクトとして提供されます。 urllib.request は多くの "URL スキーム" (URL の ":" の前の文字列で ... 十分に詳しく載せています。このドキュメントは urllib.request のドキュメントの代わりにはなりませんが、補完する役 ... 割を持っています。 URL を取得する ¶ urllib.request を利用する最も簡単な方法は以下です: import urllib. ...
https://man.plustar.jp/python/howto/urllib2.html - [similar]
21.21. socketserver --- ネットワークサーバのフレームワーク — Python 3.6.5 ドキ... 11968
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... : class socketserver. TCPServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ This uses ... . class socketserver. UDPServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ This uses ... socketserver. UnixStreamServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ class soc ... ketserver. UnixDatagramServer ( server_address , RequestHandlerClass , bind_and_activate=True ) ¶ These mor ...
https://man.plustar.jp/python/library/socketserver.html - [similar]
21.24. http.cookiejar --- HTTP クライアント用の Cookie 処理 — Python 3.6.5 ドキ... 10854
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ake_cookies() on a CookieJar instance. 参考 urllib.request モジュール クッキーの自動処理をおこない URL を開く ... ソッドを持っています: CookieJar. add_cookie_header ( request ) ¶ request に正しい Cookie ヘッダを追加します。 ポ ... )、必要に応じて Cookie2 ヘッダも追加されます。 The request object (usually a urllib.request..Request instance ... origin_req_host attribute as documented by urllib.request . バージョン 3.3 で変更: request object needs orig ...
https://man.plustar.jp/python/library/http.cookiejar.html - [similar]
21.12. http.client --- HTTP プロトコルクライアント — Python 3.6.5 ドキュメント 9522
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... す。通常、このモジュールは直接使いません --- urllib.request モジュールが HTTP や HTTPS を使った URL を扱う上で ... り高水準の HTTP クライアントインターフェイスとしては Requests パッケージ がお奨めです。 注釈 HTTPS のサポートは ... サブクラスです。 exception http.client. CannotSendRequest ¶ ImproperConnectionState のサブクラスです。 excep ... タンスには以下のメソッドがあります: HTTPConnection. request ( method , url , body=None , headers={} , * , enco ...
https://man.plustar.jp/python/library/http.client.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 8872
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... _calls', 'attach_mock', ... >>> from urllib import request >>> dir ( Mock ( spec = request )) ['AbstractBasic ... てもアクセスできなくなります: >>> from urllib import request >>> mock = Mock ( spec = request . Request ) >>> m ... できます。 autospec の利用例: >>> from urllib import request >>> patcher = patch ( '__main__.request' , autospe ... c = True ) >>> mock_request = patcher . start () >>> request is mock_request T ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
21.11. http --- HTTP モジュール群 — Python 3.6.5 ドキュメント 8686
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... クライアントです。高水準の URL を開く操作には urllib.request を使ってください http.server は socketserver をベー ... K . phrase 'OK' >>> HTTPStatus . OK . description 'Request fulfilled, document follows' >>> list ( HTTPStatus ... direct RFC 7238 , Section 3 (Experimental) 400 BAD_REQUEST HTTP/1.1 RFC 7231 , Section 6.5.1 401 UNAUTHORIZED ... HTTP/1.1 Authentication RFC 7235 , Section 3.2 408 REQUEST_TIMEOUT HTTP/1.1 RFC 7231 , Section 6.5.7 409 CONF ...
https://man.plustar.jp/python/library/http.html - [similar]
21.22. http.server --- HTTP サーバ — Python 3.6.5 ドキュメント 8531
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... erver_class = HTTPServer , handler_class = BaseHTTPRequestHandler ): server_address = ( '' , 8000 ) httpd = s ... ) class http.server. HTTPServer ( server_address , RequestHandlerClass ) ¶ このクラスは TCPServer クラスの上に ... インスタンス変数からアクセスします。 HTTPServer は RequestHandlerClass の初期化のときに与えられなければならず ... つの変種を提供しています: class http.server. BaseHTTPRequestHandler ( request , client_address , server ) ¶ この ...
https://man.plustar.jp/python/library/http.server.html - [similar]
21.5. urllib --- URL を扱うモジュール群 — Python 3.6.5 ドキュメント 8268
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 扱う幾つかのモジュールを集めたパッケージです: urllib.request は URL を開いて読むためのモジュールです urllib.err ... or は urllib.request が発生させる例外を持っています urllib.parse は URL ... モジュールです 関連キーワード: urllib , モジュール , request , ドキュメント , ライブラリ , Foundation , Softwar ... リティとリファレンス実装 次のトピックへ 21.6. urllib.request --- URL を開くための拡張可能なライブラリ ナビゲーシ ...
https://man.plustar.jp/python/library/urllib.html - [similar]
21.10. urllib.robotparser --- robots.txt のためのパーザ — Python 3.6.5 ドキュメ... 7803
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... valid syntax, return None . バージョン 3.6 で追加. request_rate ( useragent ) ¶ Returns the contents of the R ... st-rate parameter from robots.txt as a named tuple RequestRate(requests, seconds) . If there is no such param ... om/robots.txt" ) >>> rp . read () >>> rrate = rp . request_rate ( "*" ) >>> rrate . requests 3 >>> rrate . se ... fetch 前のトピックへ 21.9. urllib.error --- urllib.request が投げる例外 次のトピックへ 21.11. http --- HTTP モ ...
https://man.plustar.jp/python/library/urllib.robotparser.html - [similar]
PREV 1 2 3 4 5 NEXT