Results of 1 - 10 of about 350 for text (0.010 sec.)
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 9535
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...y {'name': 'Panama'} 子ノードは入れ子になっており、インデックスで子ノードを指定してアクセスできます: >>> root [ 0 ][ 1 ] . text '2008' 注釈 XML 入力の全ての要素が、パース後の木に要素として含まれる訳ではありません。現在、このモジュールは入力中のいかな...を呼び出します。以下に、例を示します。 >>> parser = ET . XMLPullParser ([ 'start' , 'end' ]) >>> parser . feed ( '<mytag>sometext' ) >>> list ( parser . read_events ()) [('start', <Element 'mytag' at 0x7fa66db2be58>)] >>> parser . feed ( ' more text</m...ytag>' ) >>> for event , elem in parser . read_events (): ... print ( event ) ... print ( elem . tag , 'text=' , elem . text ) ... end mytag text= sometext more text これの分かりやすい用途は、XML データをソケットから受信したり、スト... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 9535
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...y {'name': 'Panama'} 子ノードは入れ子になっており、インデックスで子ノードを指定してアクセスできます: >>> root [ 0 ][ 1 ] . text '2008' 注釈 XML 入力の全ての要素が、パース後の木に要素として含まれる訳ではありません。現在、このモジュールは入力中のいかな...を呼び出します。以下に、例を示します。 >>> parser = ET . XMLPullParser ([ 'start' , 'end' ]) >>> parser . feed ( '<mytag>sometext' ) >>> list ( parser . read_events ()) [('start', <Element 'mytag' at 0x7fa66db2be58>)] >>> parser . feed ( ' more text</m...ytag>' ) >>> for event , elem in parser . read_events (): ... print ( event ) ... print ( elem . tag , 'text=' , elem . text ) ... end mytag text= sometext more text これの分かりやすい用途は、XML データをソケットから受信したり、スト... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 9050
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...いを補助するためのユーティリティです。 tkinter.messagebox 標準的な Tk のダイアログボックスにアクセスします。 tkinter.scrolledtext 垂直スクロールバー付きのテキストウィジェットです。 tkinter.simpledialog 基本的なダイアログと便宜関数 (convenience function...import * from tkinter import ttk root = Tk () frm = ttk . Frame ( root , padding = 10 ) frm . grid () ttk . Label ( frm , text = "Hello World!" ) . grid ( column = 0 , row = 0 ) ttk . Button ( frm , text = "Quit" , command = root . destroy ) . grid...a button we'll create next. The frame is fit inside the root window. The next line creates a label widget holding a static text string. The grid() method is used to specify the relative layout (position) of the label within its containing frame widge... - https://man.mtool.work/python/3.14/library/tkinter.html
- textwrap --- テキストの折り返しと詰め込み — Python 3.14.8 ドキュメント 7649
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » textwrap --- テキストの折り返しと詰め込み テーマ 自動 ライト ダーク | textwrap --- テキストの折り返しと詰め込
...み ¶ ソースコード: Lib/textwrap.py The textwrap module provides some convenience functions, as well as TextWrapper , the class that does all the work....If you're just wrapping or filling one or two text strings, the convenience functions should be good enough; otherwise, you should use an instance of TextWrapper for efficie...ncy. textwrap. wrap ( text , width = 70 , * , initial_indent = '' , subsequent_indent = '' , expand_tabs = True , replace_whitespace... - https://man.mtool.work/python/3.14/library/textwrap.html
- textwrap --- テキストの折り返しと詰め込み — Python 3.14.8 ドキュメント 7649
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » textwrap --- テキストの折り返しと詰め込み テーマ 自動 ライト ダーク | textwrap --- テキストの折り返しと詰め込
...み ¶ ソースコード: Lib/textwrap.py The textwrap module provides some convenience functions, as well as TextWrapper , the class that does all the work....If you're just wrapping or filling one or two text strings, the convenience functions should be good enough; otherwise, you should use an instance of TextWrapper for efficie...ncy. textwrap. wrap ( text , width = 70 , * , initial_indent = '' , subsequent_indent = '' , expand_tabs = True , replace_whitespace... - https://man.mtool.work/python/3.14/library/textwrap.html
- 索引 — Python 3.14.8 ドキュメント 7514
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – T t-string t-strings T_BOOL (C macro) T_BYTE (C macro) T_CHAR (C macro) T_DOUBLE (C macro) T_FLOAT (C macro) T_FMT (locale モジュール)
...ジュール) tab() (tkinter.ttk.Notebook のメソッド) TabError tabnanny module tabs() (tkinter.ttk.Notebook のメソッド) tabsize (textwrap.TextWrapper の属性) tag (xml.etree.ElementTree.Element の属性) tag_add() (tkinter.Text のメソッド) tag_bind() (tkinter....Canvas のメソッド) (tkinter.Text のメソッド) (tkinter.ttk.Treeview のメソッド) tag_cget() (tkinter.Text のメソッド) tag_config() (tkinter.Text のメソッド)...tag_configure() (tkinter.Text のメソッド) (tkinter.ttk.Treeview のメソッド) tag_delete() (tkinter.Text のメソッド) tag_has() (tkinter.ttk.Treeview のメソ... - https://man.mtool.work/python/3.14/genindex-T.html
- email.iterators: イテレータ — Python 3.14.8 ドキュメント 7425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ
...ョン引数 decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり、それらの中で指定されたMIME 形式 maintype と sub...された場合、サブパートの MIME 形式は maintype のみがチェックされます。じつは maintype も省略可能で、その場合にはデフォルトは text です。 つまり、デフォルトでは typed_subpart_iterator() は MIME 形式 text/* をもつサブパートを順に返していくというわけです。...インデントつきで表示します。例えば: >>> msg = email . message_from_file ( somefile ) >>> _structure ( msg ) multipart/mixed text/plain text/plain multipart/digest message/rfc822 text/plain message/rfc822 text/plain message/rfc822 text/plain message/rf... - https://man.mtool.work/python/3.14/library/email.iterators.html
- email.iterators: イテレータ — Python 3.14.8 ドキュメント 7425
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ
...ョン引数 decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり、それらの中で指定されたMIME 形式 maintype と sub...された場合、サブパートの MIME 形式は maintype のみがチェックされます。じつは maintype も省略可能で、その場合にはデフォルトは text です。 つまり、デフォルトでは typed_subpart_iterator() は MIME 形式 text/* をもつサブパートを順に返していくというわけです。...インデントつきで表示します。例えば: >>> msg = email . message_from_file ( somefile ) >>> _structure ( msg ) multipart/mixed text/plain text/plain multipart/digest message/rfc822 text/plain message/rfc822 text/plain message/rfc822 text/plain message/rf... - https://man.mtool.work/python/3.14/library/email.iterators.html
- 索引 — Python 3.14.8 ドキュメント 7380
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – T t-string t-strings T_BOOL (C macro) T_BYTE (C macro) T_CHAR (C macro) T_DOUBLE (C macro) T_FLOAT (C macro) T_FMT (locale モジュール)
...ジュール) tab() (tkinter.ttk.Notebook のメソッド) TabError tabnanny module tabs() (tkinter.ttk.Notebook のメソッド) tabsize (textwrap.TextWrapper の属性) tag (xml.etree.ElementTree.Element の属性) tag_add() (tkinter.Text のメソッド) tag_bind() (tkinter....Canvas のメソッド) (tkinter.Text のメソッド) (tkinter.ttk.Treeview のメソッド) tag_cget() (tkinter.Text のメソッド) tag_config() (tkinter.Text のメソッド)...tag_configure() (tkinter.Text のメソッド) (tkinter.ttk.Treeview のメソッド) tag_delete() (tkinter.Text のメソッド) tag_has() (tkinter.ttk.Treeview のメソ... - https://man.mtool.work/python/3.14/genindex-T.html
- importlib.resources -- パッケージリソースの読み取り、オープン、アクセス — Pytho... 6859
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » モジュールのインポート » importlib.resources -- パッケージリソースの読み取り、オープン、アクセス テーマ 自動 ライト ダーク | import
...in a package, within a subdirectory contained in that package, or adjacent to modules outside a package. Resources may be text or binary. As a result, a package's Python module sources (.py), compilation artifacts (pycache), and installation artifac...those non-Python artifacts exposed specifically by the package author. Resources can be opened or read in either binary or text mode. リソースは大体ディレクトリの中のファイルに似ていますが、これは単なる例え話であることを頭に入れておくことが重要です。...) ¶ Given a Traversable object representing a file or directory, typically from importlib.resources.files() , return a context manager for use in a with statement. The context manager provides a pathlib.Path object. Exiting the context manager clean... - https://man.mtool.work/python/3.14/library/importlib.resources.html