per page, with , order by , clip by
Results of 1 - 10 of about 86 for reason (0.009 sec.)
http.client --- HTTP プロトコルクライアント — Python 3.14.8 ドキュメント 10861
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http.client --- HTTP プロトコルクライアント テーマ 自動 ライト ダーク | http.client --- HTTP プ ... ET" , "/3/" , headers = { "Host" : host }) >>> response = conn . getresponse () >>> print ( response . status , response . reason ) 200 OK 注釈 Chunked transfer encoding has been added to the HTTP protocol version 1.1. Unless the HTTP server is known t ... he form of an email.message.EmailMessage instance. HTTPResponse. status ¶ サーバから返される状態コードです。 HTTPResponse. reason ¶ サーバから返される応答の理由文です。 HTTPResponse. debuglevel ¶ A debugging hook. If debuglevel is greater than zero, me ... tion ( "www.python.org" ) >>> conn . request ( "GET" , "/" ) >>> r1 = conn . getresponse () >>> print ( r1 . status , r1 . reason ) 200 OK >>> data1 = r1 . read () # This will return entire content. >>> # The following example demonstrates reading data ...
https://man.mtool.work/python/3.14/library/http.client.html
urllib.error --- urllib.request によって送出される例外クラス — Python 3.14.8 ド... 10861
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » urllib.error --- urllib.request によって送出される例外クラス テーマ 自動 ライト ダーク | urlli ... ラが何らかの問題に遭遇した場合、この例外 (またはこの例外から派生した例外)を送出します。この例外は OSError のサブクラスです。 reason ¶ このエラーの理由。メッセージ文字列あるいは他の例外インスタンスです。 バージョン 3.3 で変更: URLError は以前は IOError の ... テータスコード。 この数値型の値は、 http.server.BaseHTTPRequestHandler.responses の辞書に登録されているコードに対応します。 reason ¶ これは通常、このエラーの原因を説明する文字列です。 msg 属性のエイリアスです。 headers ¶ HTTPError の原因となった HTTP リ ... urllib 例外 error exception URLError エイリアス HTTPError msg リクエスト 属性 request exceptions raised OSError サブクラス reason url code hdrs fp 前のトピックへ urllib.parse --- URL を構成要素に解析する 次のトピックへ urllib.robotparser --- robots.txt ...
https://man.mtool.work/python/3.14/library/urllib.error.html
http.client --- HTTP プロトコルクライアント — Python 3.14.8 ドキュメント 10861
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http.client --- HTTP プロトコルクライアント テーマ 自動 ライト ダーク | http.client --- HTTP プ ... ET" , "/3/" , headers = { "Host" : host }) >>> response = conn . getresponse () >>> print ( response . status , response . reason ) 200 OK 注釈 Chunked transfer encoding has been added to the HTTP protocol version 1.1. Unless the HTTP server is known t ... he form of an email.message.EmailMessage instance. HTTPResponse. status ¶ サーバから返される状態コードです。 HTTPResponse. reason ¶ サーバから返される応答の理由文です。 HTTPResponse. debuglevel ¶ A debugging hook. If debuglevel is greater than zero, me ... tion ( "www.python.org" ) >>> conn . request ( "GET" , "/" ) >>> r1 = conn . getresponse () >>> print ( r1 . status , r1 . reason ) 200 OK >>> data1 = r1 . read () # This will return entire content. >>> # The following example demonstrates reading data ...
https://man.mtool.work/python/3.14/library/http.client.html
urllib.error --- urllib.request によって送出される例外クラス — Python 3.14.8 ド... 10619
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » urllib.error --- urllib.request によって送出される例外クラス テーマ 自動 ライト ダーク | urlli ... ラが何らかの問題に遭遇した場合、この例外 (またはこの例外から派生した例外)を送出します。この例外は OSError のサブクラスです。 reason ¶ このエラーの理由。メッセージ文字列あるいは他の例外インスタンスです。 バージョン 3.3 で変更: URLError は以前は IOError の ... テータスコード。 この数値型の値は、 http.server.BaseHTTPRequestHandler.responses の辞書に登録されているコードに対応します。 reason ¶ これは通常、このエラーの原因を説明する文字列です。 msg 属性のエイリアスです。 headers ¶ HTTPError の原因となった HTTP リ ... 関連キーワード urllib exception URLError エイリアス HTTPError リクエスト 属性 request exceptions raised OSError サブクラス reason code hdrs コード 原因 ヘッダ content ダウンロード ソースコード module defines classes base 前のトピックへ urllib.parse --- ...
https://man.mtool.work/python/3.14/library/urllib.error.html
urllib パッケージを使ってインターネット上のリソースを取得するには — Python 3.14... 10376
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » urllib パッケージを使ってインターネット上のリソースを取得するには テーマ 自動 ライト ダーク | urllib パッケージを使ってインターネット上のリソースを ... rror が送出されることはよく起こります、それはネットワーク接続が無い場合や、指定したサーバが無い場合です。この場合、例外は 'reason' 属性を持っていて、この属性はエラーコードとエラーメッセージのテキストを含むタプルです。 例: >>> req = urllib . request . R ... end_server.org' ) >>> try : urllib . request . urlopen ( req ) ... except urllib . error . URLError as e : ... print ( e . reason ) ... (4, 'getaddrinfo failed') HTTPError ¶ Every HTTP response from the server contains a numeric "status code". Sometime ... e request.' ) print ( 'Error code: ' , e . code ) except URLError as e : print ( 'We failed to reach a server.' ) print ( 'Reason: ' , e . reason ) else : # everything is fine 注釈 The except HTTPError must come first, otherwise except URLError will al ...
https://man.mtool.work/python/3.14/howto/urllib2.html
urllib パッケージを使ってインターネット上のリソースを取得するには — Python 3.14... 10376
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » urllib パッケージを使ってインターネット上のリソースを取得するには テーマ 自動 ライト ダーク | urllib パッケージを使ってインターネット上のリソースを ... rror が送出されることはよく起こります、それはネットワーク接続が無い場合や、指定したサーバが無い場合です。この場合、例外は 'reason' 属性を持っていて、この属性はエラーコードとエラーメッセージのテキストを含むタプルです。 例: >>> req = urllib . request . R ... end_server.org' ) >>> try : urllib . request . urlopen ( req ) ... except urllib . error . URLError as e : ... print ( e . reason ) ... (4, 'getaddrinfo failed') HTTPError ¶ Every HTTP response from the server contains a numeric "status code". Sometime ... e request.' ) print ( 'Error code: ' , e . code ) except URLError as e : print ( 'We failed to reach a server.' ) print ( 'Reason: ' , e . reason ) else : # everything is fine 注釈 The except HTTPError must come first, otherwise except URLError will al ...
https://man.mtool.work/python/3.14/howto/urllib2.html
例外処理 — Python 3.14.8 ドキュメント 10147
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま ... reate ( const char * encoding , const char * object , Py_ssize_t length , Py_ssize_t start , Py_ssize_t end , const char * reason ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . encoding , object , length , start , end , reason 属性をもった Unicode ... DecodeError オブジェクトを作成します。 encoding および reason は UTF-8 エンコードされた文字列です。 PyObject * PyUnicodeDecodeError_GetEncoding ( PyObject * exc ) ¶ PyObject * PyUnicod ... 性を end に設定します。成功したら 0 を、失敗したら -1 を返します。 参考 UnicodeError.end PyObject * PyUnicodeDecodeError_GetReason ( PyObject * exc ) ¶ PyObject * PyUnicodeEncodeError_GetReason ( PyObject * exc ) ¶ PyObject * PyUnicodeTranslateError_Get ...
https://man.mtool.work/python/3.14/c-api/exceptions.html
例外処理 — Python 3.14.8 ドキュメント 10147
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 例外処理 テーマ 自動 ライト ダーク | 例外処理 ¶ この章で説明する関数を使うと、 Python の例外の処理や例外の送出ができるようになりま ... reate ( const char * encoding , const char * object , Py_ssize_t length , Py_ssize_t start , Py_ssize_t end , const char * reason ) ¶ 戻り値: 新しい参照。 次に属します: Stable ABI . encoding , object , length , start , end , reason 属性をもった Unicode ... DecodeError オブジェクトを作成します。 encoding および reason は UTF-8 エンコードされた文字列です。 PyObject * PyUnicodeDecodeError_GetEncoding ( PyObject * exc ) ¶ PyObject * PyUnicod ... 性を end に設定します。成功したら 0 を、失敗したら -1 を返します。 参考 UnicodeError.end PyObject * PyUnicodeDecodeError_GetReason ( PyObject * exc ) ¶ PyObject * PyUnicodeEncodeError_GetReason ( PyObject * exc ) ¶ PyObject * PyUnicodeTranslateError_Get ...
https://man.mtool.work/python/3.14/c-api/exceptions.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 8948
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... de that they would like to run from unittest , without converting every old test function to a TestCase subclass. For this reason, unittest provides a FunctionTestCase class. This subclass of TestCase can be used to wrap an existing test function. Set- ... r} " . format ( obj , attr )) 以下のデコレータと例外はテストのスキップと予期された失敗を実装しています: @ unittest. skip ( reason ) ¶ デコレートしたテストを無条件でスキップします。 reason にはテストをスキップした理由を記載します。 @ unittest. skipIf ( ... condition , reason ) ¶ condition が真の場合、デコレートしたテストをスキップします。 @ unittest. skipUnless ( condition , reason ) ¶ condition ...
https://man.mtool.work/python/3.14/library/unittest.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 8948
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... de that they would like to run from unittest , without converting every old test function to a TestCase subclass. For this reason, unittest provides a FunctionTestCase class. This subclass of TestCase can be used to wrap an existing test function. Set- ... r} " . format ( obj , attr )) 以下のデコレータと例外はテストのスキップと予期された失敗を実装しています: @ unittest. skip ( reason ) ¶ デコレートしたテストを無条件でスキップします。 reason にはテストをスキップした理由を記載します。 @ unittest. skipIf ( ... condition , reason ) ¶ condition が真の場合、デコレートしたテストをスキップします。 @ unittest. skipUnless ( condition , reason ) ¶ condition ...
https://man.mtool.work/python/3.14/library/unittest.html
PREV 1 2 3 4 5 6 7 8 9 NEXT