Results of 1 - 10 of about 158 for root (0.015 sec.)
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 10229
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...ことでこのデータをインポートすることが出来ます: import xml.etree.ElementTree as ET tree = ET . parse ( 'country_data.xml' ) root = tree . getroot () 文字列から直接インポートすることも出来ます: root = ET . fromstring ( country_data_as_string ) fromstri...ト要素です。他のパース関数は ElementTree を作成するかもしれません。ドキュメントをきちんと確認してください。 Element として、 root はタグと属性の辞書を持ちます: >>> root . tag 'data' >>> root . attrib {} さらにイテレート可能な子ノードも持ちます: >>> for...child in root : ... print ( child . tag , child . attrib ) ... country {'name': 'Liechtenstein'} country {'name': 'Singapore'} country {... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 10229
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...ことでこのデータをインポートすることが出来ます: import xml.etree.ElementTree as ET tree = ET . parse ( 'country_data.xml' ) root = tree . getroot () 文字列から直接インポートすることも出来ます: root = ET . fromstring ( country_data_as_string ) fromstri...ト要素です。他のパース関数は ElementTree を作成するかもしれません。ドキュメントをきちんと確認してください。 Element として、 root はタグと属性の辞書を持ちます: >>> root . tag 'data' >>> root . attrib {} さらにイテレート可能な子ノードも持ちます: >>> for...child in root : ... print ( child . tag , child . attrib ) ... country {'name': 'Liechtenstein'} country {'name': 'Singapore'} country {... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 9584
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...d write, but has enough to illustrate some key concepts you'll need to know. from tkinter import * from tkinter import ttk root = Tk () frm = ttk . Frame ( root , padding = 10 ) frm . grid () ttk . Label ( frm , text = "Hello World!" ) . grid ( colum...n = 0 , row = 0 ) ttk . Button ( frm , text = "Quit" , command = root . destroy ) . grid ( column = 1 , row = 0 ) root . mainloop () After the imports, the next line creates an instance of the...Tk class, which initializes Tk and creates its associated Tcl interpreter. It also creates a toplevel window, known as the root window, which serves as the main window of the application. The following line creates a frame widget, which in this case... - https://man.mtool.work/python/3.14/library/tkinter.html
- Logging クックブック — Python 3.14.8 ドキュメント 9365
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に
...me)-8s %(message)s ' ) # tell the handler to use this format console . setFormatter ( formatter ) # add the handler to the root logger logging . getLogger () . addHandler ( console ) # Now, we can log to the root logger, or any other logger. First th...e root... logging . info ( 'Jackdaws love my big sphinx of quartz.' ) # Now, define a couple of other loggers which might represe....' ) logger2 . error ( 'The five boxing wizards jump quickly.' ) これを実行すると、コンソールには以下のように出力されます: root : INFO Jackdaws love my big sphinx of quartz. myapp.area1 : INFO How quickly daft jumping zebras vex. myapp.area2 : WARNIN... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 9296
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
...d write, but has enough to illustrate some key concepts you'll need to know. from tkinter import * from tkinter import ttk root = Tk () frm = ttk . Frame ( root , padding = 10 ) frm . grid () ttk . Label ( frm , text = "Hello World!" ) . grid ( colum...n = 0 , row = 0 ) ttk . Button ( frm , text = "Quit" , command = root . destroy ) . grid ( column = 1 , row = 0 ) root . mainloop () After the imports, the next line creates an instance of the...Tk class, which initializes Tk and creates its associated Tcl interpreter. It also creates a toplevel window, known as the root window, which serves as the main window of the application. The following line creates a frame widget, which in this case... - https://man.mtool.work/python/3.14/library/tkinter.html
- Logging クックブック — Python 3.14.8 ドキュメント 9077
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に
...me)-8s %(message)s ' ) # tell the handler to use this format console . setFormatter ( formatter ) # add the handler to the root logger logging . getLogger () . addHandler ( console ) # Now, we can log to the root logger, or any other logger. First th...e root... logging . info ( 'Jackdaws love my big sphinx of quartz.' ) # Now, define a couple of other loggers which might represe....' ) logger2 . error ( 'The five boxing wizards jump quickly.' ) これを実行すると、コンソールには以下のように出力されます: root : INFO Jackdaws love my big sphinx of quartz. myapp.area1 : INFO How quickly daft jumping zebras vex. myapp.area2 : WARNIN... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- tkinter.font --- Tkinter フォントラッパー — Python 3.14.8 ドキュメント 8870
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter.font --- Tkinter フォントラッパー テーマ 自動 ライト ダーク | tkinter.font --- Tkinter
...s are: tkinter.font. NORMAL ¶ tkinter.font. BOLD ¶ tkinter.font. ITALIC ¶ tkinter.font. ROMAN ¶ class tkinter.font. Font ( root = None , font = None , name = None , exists = False , ** options ) ¶ The Font class represents a named font. Font instance...the font that ensures no vertical overlap between lines. fixed - 1 if font is fixed-width else 0 tkinter.font. families ( root = None , displayof = None ) ¶ Return a tuple of the names of the available font families. tkinter.font. names ( root = Non...e ) ¶ Return a tuple of the names of all the defined fonts. tkinter.font. nametofont ( name , root = None ) ¶ Return a Font representation of the existing named font name . root is the widget whose Tcl interpreter owns th... - https://man.mtool.work/python/3.14/library/tkinter.font.html
- ensurepip --- pip インストーラーのブートストラップ — Python 3.14.8 ドキュメント 8582
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ソフトウェア・パッケージと配布 » ensurepip --- pip インストーラーのブートストラップ テーマ 自動 ライト ダーク | ensurepip --- pip イ
...しアクティブな仮想環境がなければ)にインストールされます。インストール先は2つの追加コマンドラインオプションで制御できます: --root <dir> ¶ Installs pip relative to the given root directory rather than the root of the currently active virtual environment...(if any) or the default root for the current Python installation. --user ¶ Installs pip into the user site packages directory rather than globally for...ートストラップする際にインストールされることになる利用可能な pip のバージョンを示す文字列を返します。 ensurepip. bootstrap ( root = None , upgrade = False , user = False , altinstall = False , default_pip = False , verbosity = 0 ) ¶ 現在の環境あるいは指... - https://man.mtool.work/python/3.14/library/ensurepip.html
- ensurepip --- pip インストーラーのブートストラップ — Python 3.14.8 ドキュメント 8582
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ソフトウェア・パッケージと配布 » ensurepip --- pip インストーラーのブートストラップ テーマ 自動 ライト ダーク | ensurepip --- pip イ
...しアクティブな仮想環境がなければ)にインストールされます。インストール先は2つの追加コマンドラインオプションで制御できます: --root <dir> ¶ Installs pip relative to the given root directory rather than the root of the currently active virtual environment...(if any) or the default root for the current Python installation. --user ¶ Installs pip into the user site packages directory rather than globally for...ートストラップする際にインストールされることになる利用可能な pip のバージョンを示す文字列を返します。 ensurepip. bootstrap ( root = None , upgrade = False , user = False , altinstall = False , default_pip = False , verbosity = 0 ) ¶ 現在の環境あるいは指... - https://man.mtool.work/python/3.14/library/ensurepip.html
- tkinter.font --- Tkinter フォントラッパー — Python 3.14.8 ドキュメント 8363
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter.font --- Tkinter フォントラッパー テーマ 自動 ライト ダーク | tkinter.font --- Tkinter
...s are: tkinter.font. NORMAL ¶ tkinter.font. BOLD ¶ tkinter.font. ITALIC ¶ tkinter.font. ROMAN ¶ class tkinter.font. Font ( root = None , font = None , name = None , exists = False , ** options ) ¶ The Font class represents a named font. Font instance...the font that ensures no vertical overlap between lines. fixed - 1 if font is fixed-width else 0 tkinter.font. families ( root = None , displayof = None ) ¶ Return a tuple of the names of the available font families. tkinter.font. names ( root = Non...e ) ¶ Return a tuple of the names of all the defined fonts. tkinter.font. nametofont ( name , root = None ) ¶ Return a Font representation of the existing named font name . root is the widget whose Tcl interpreter owns th... - https://man.mtool.work/python/3.14/library/tkinter.font.html