Results of 1 - 10 of about 31 for feed (0.007 sec.)
- html.parser --- HTML と XHTML のシンプルなパーサー — Python 3.14.8 ドキュメント 13864
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » html.parser --- HTML と XHTML のシンプルなパーサー テーマ 自動 ライト ダーク | html.parser --- HTML と X
...g :" , tag ) def handle_data ( self , data ): print ( "Encountered some data :" , data ) parser = MyHTMLParser () parser . feed ( '<html><head><title>Test</title></head>' '<body><h1>Parse me!</h1></body></html>' ) 出力は以下のようになります: Encounte...body Encountered an end tag : html HTMLParser メソッド ¶ HTMLParser インスタンスは以下のメソッドを提供します: HTMLParser. feed ( data ) ¶ パーサーにテキストを入力します。入力が完全なタグ要素で構成されている場合に限り処理が行われます; 不完全なデータで..., c ) def handle_decl ( self , data ): print ( "Decl :" , data ) parser = MyHTMLParser () Parsing a doctype: >>> parser . feed ( '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ' ... '"http://www.w3.org/TR/html4/strict.dtd">' ) Decl : DOCTYPE HTM... - https://man.mtool.work/python/3.14/library/html.parser.html
- html.parser --- HTML と XHTML のシンプルなパーサー — Python 3.14.8 ドキュメント 13864
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » html.parser --- HTML と XHTML のシンプルなパーサー テーマ 自動 ライト ダーク | html.parser --- HTML と X
...g :" , tag ) def handle_data ( self , data ): print ( "Encountered some data :" , data ) parser = MyHTMLParser () parser . feed ( '<html><head><title>Test</title></head>' '<body><h1>Parse me!</h1></body></html>' ) 出力は以下のようになります: Encounte...body Encountered an end tag : html HTMLParser メソッド ¶ HTMLParser インスタンスは以下のメソッドを提供します: HTMLParser. feed ( data ) ¶ パーサーにテキストを入力します。入力が完全なタグ要素で構成されている場合に限り処理が行われます; 不完全なデータで..., c ) def handle_decl ( self , data ): print ( "Decl :" , data ) parser = MyHTMLParser () Parsing a doctype: >>> parser . feed ( '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ' ... '"http://www.w3.org/TR/html4/strict.dtd">' ) Decl : DOCTYPE HTM... - https://man.mtool.work/python/3.14/library/html.parser.html
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 8881
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...めの最も強力なツールは、 XMLPullParser です。XML データを取得するためにブロックするような読み込みは必要なく、 XMLPullParser.feed() を呼び出して、インクリメンタルにデータを読みます。パースされた XML 要素を取得するには、 XMLPullParser.read_events() を呼...び出します。以下に、例を示します。 >>> parser = ET . XMLPullParser ([ 'start' , 'end' ]) >>> parser . feed ( '<mytag>sometext' ) >>> list ( parser . read_events ()) [('start', <Element 'mytag' at 0x7fa66db2be58>)] >>> parser . fe...ll, parse with XMLParser and a custom target instead; it is not built then, and nothing has to be removed. Where immediate feedback through events is wanted, calling method XMLPullParser.flush() can help reduce delay; please make sure to study the re... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 8881
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...めの最も強力なツールは、 XMLPullParser です。XML データを取得するためにブロックするような読み込みは必要なく、 XMLPullParser.feed() を呼び出して、インクリメンタルにデータを読みます。パースされた XML 要素を取得するには、 XMLPullParser.read_events() を呼...び出します。以下に、例を示します。 >>> parser = ET . XMLPullParser ([ 'start' , 'end' ]) >>> parser . feed ( '<mytag>sometext' ) >>> list ( parser . read_events ()) [('start', <Element 'mytag' at 0x7fa66db2be58>)] >>> parser . fe...ll, parse with XMLParser and a custom target instead; it is not built then, and nothing has to be removed. Where immediate feedback through events is wanted, calling method XMLPullParser.flush() can help reduce delay; please make sure to study the re... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- xml.sax.xmlreader --- XML パーサーのインターフェース — Python 3.14.8 ドキュメン... 8654
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.sax.xmlreader --- XML パーサーのインターフェース テーマ 自動 ライト ダーク | xml.sax.xmlreader --- X
...parse() の排他的挙動を望まないときにこれらのインターフェースを使用してください。 パーサのインスタンスが作成されるとすぐに、feed メソッドを通じてデータを受け入れられるようになります。パースが完了して閉じるための呼び出しが行われた後、パーサがフィードか...urn する前に呼び出す必要があるのです。 デフォルトでは、SAX 2.0 ドライバを書く人のために、このクラスは IncrementalParser の feed、close、reset メソッドを使って XMLReader インターフェースの parse メソッドを実装しています。 class xml.sax.xmlreader. Locat...します。 IncrementalParser オブジェクト ¶ IncrementalParser のインスタンスは次の追加メソッドを提供します: IncrementalParser. feed ( data ) ¶ data のチャンクを処理します。 IncrementalParser. close ( ) ¶ 文書の終端を決定します。文書の適格性を調べ (終端で... - https://man.mtool.work/python/3.14/library/xml.sax.reader.html
- xml.sax.xmlreader --- XML パーサーのインターフェース — Python 3.14.8 ドキュメン... 8654
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.sax.xmlreader --- XML パーサーのインターフェース テーマ 自動 ライト ダーク | xml.sax.xmlreader --- X
...parse() の排他的挙動を望まないときにこれらのインターフェースを使用してください。 パーサのインスタンスが作成されるとすぐに、feed メソッドを通じてデータを受け入れられるようになります。パースが完了して閉じるための呼び出しが行われた後、パーサがフィードか...urn する前に呼び出す必要があるのです。 デフォルトでは、SAX 2.0 ドライバを書く人のために、このクラスは IncrementalParser の feed、close、reset メソッドを使って XMLReader インターフェースの parse メソッドを実装しています。 class xml.sax.xmlreader. Locat...します。 IncrementalParser オブジェクト ¶ IncrementalParser のインスタンスは次の追加メソッドを提供します: IncrementalParser. feed ( data ) ¶ data のチャンクを処理します。 IncrementalParser. close ( ) ¶ 文書の終端を決定します。文書の適格性を調べ (終端で... - https://man.mtool.work/python/3.14/library/xml.sax.reader.html
- email.parser: Parsing email messages — Python 3.14.8 ドキュメント 8315
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.parser : Parsing email messages テーマ
...iter_parts() , and walk() . There are actually two parser interfaces available for use, the Parser API and the incremental FeedParser API. The Parser API is most useful if you have the entire text of the message in memory, or if the entire message li...ves in a file on the file system. FeedParser is more appropriate when you are reading the message from a stream which might block waiting for more input (such as...reading an email message from a socket). The FeedParser can consume and parse the message incrementally, and only returns the root object when you close the parser. Note th... - https://man.mtool.work/python/3.14/library/email.parser.html
- 4. Windows で Python を使う — Python 3.14.8 ドキュメント 8315
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python のセットアップと利用 » 4. Windows で Python を使う テーマ 自動 ライト ダーク | 4. Windows で Python を使う ¶ このドキュメントは、 Python を Microsoft Wind
...install), or false to skip the confirmation. By default, true. install.source PYTHON_MANAGER_SOURCE_URL Override the index feed to obtain new installs from. install.enable_entrypoints (none) True to generate global commands for installed packages (su...timate signature. This is an example source_settings section from a configuration file. In this case, the publisher of the feed is uniquely identified by the combination of the Microsoft Identity Verification root and the EKU assigned by that root. T...e , "required_publisher_subject" : "CN=Python Software Foundation" , "versions" : [ // ... ] } When settings from inside a feed are used, the user is notified and the settings are shown in the log file or verbose output. It is recommended to copy the... - https://man.mtool.work/python/3.14/using/windows.html
- email.parser: Parsing email messages — Python 3.14.8 ドキュメント 8315
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.parser : Parsing email messages テーマ
...iter_parts() , and walk() . There are actually two parser interfaces available for use, the Parser API and the incremental FeedParser API. The Parser API is most useful if you have the entire text of the message in memory, or if the entire message li...ves in a file on the file system. FeedParser is more appropriate when you are reading the message from a stream which might block waiting for more input (such as...reading an email message from a socket). The FeedParser can consume and parse the message incrementally, and only returns the root object when you close the parser. Note th... - https://man.mtool.work/python/3.14/library/email.parser.html
- 4. Windows で Python を使う — Python 3.14.8 ドキュメント 8315
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python のセットアップと利用 » 4. Windows で Python を使う テーマ 自動 ライト ダーク | 4. Windows で Python を使う ¶ このドキュメントは、 Python を Microsoft Wind
...install), or false to skip the confirmation. By default, true. install.source PYTHON_MANAGER_SOURCE_URL Override the index feed to obtain new installs from. install.enable_entrypoints (none) True to generate global commands for installed packages (su...timate signature. This is an example source_settings section from a configuration file. In this case, the publisher of the feed is uniquely identified by the combination of the Microsoft Identity Verification root and the EKU assigned by that root. T...e , "required_publisher_subject" : "CN=Python Software Foundation" , "versions" : [ // ... ] } When settings from inside a feed are used, the user is notified and the settings are shown in the log file or verbose output. It is recommended to copy the... - https://man.mtool.work/python/3.14/using/windows.html