Results of 1 - 8 of about 8 for getboolean (0.041 sec.)
- configparser --- 設定ファイルのパーサー — Python 3.14.8 ドキュメント 12146
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » configparser --- 設定ファイルのパーサー テーマ 自動 ライト ダーク | configparser --- 設定ファイルのパーサー
...の扱いは一筋縄ではいきません。文字列を bool() に渡しても、 bool('False') が True になってしまいます。そこで config parser は getboolean() を提供しています。このメソッドは大文字小文字を区別せず、 'yes' / 'no' 、 'on' / 'off' 、 'true' / 'false' 、 '1' / '0' を...真偽値として認識します [ 1 ] 。例えば: >>> topsecret . getboolean ( 'ForwardX11' ) False >>> config [ 'forge.example' ] . getboolean ( 'ForwardX11' ) True >>> config . getboolean ( 'forge....example' , 'Compression' ) True config parser では、 getboolean() 以外に getint() と getfloat() メソッドも提供されています。独自のコンバーターの登録、提供されたメソッドのカスタマイズもで... - https://man.mtool.work/python/3.14/library/configparser.html
- configparser --- 設定ファイルのパーサー — Python 3.14.8 ドキュメント 12146
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルフォーマット » configparser --- 設定ファイルのパーサー テーマ 自動 ライト ダーク | configparser --- 設定ファイルのパーサー
...の扱いは一筋縄ではいきません。文字列を bool() に渡しても、 bool('False') が True になってしまいます。そこで config parser は getboolean() を提供しています。このメソッドは大文字小文字を区別せず、 'yes' / 'no' 、 'on' / 'off' 、 'true' / 'false' 、 '1' / '0' を...真偽値として認識します [ 1 ] 。例えば: >>> topsecret . getboolean ( 'ForwardX11' ) False >>> config [ 'forge.example' ] . getboolean ( 'ForwardX11' ) True >>> config . getboolean ( 'forge....example' , 'Compression' ) True config parser では、 getboolean() 以外に getint() と getfloat() メソッドも提供されています。独自のコンバーターの登録、提供されたメソッドのカスタマイズもで... - https://man.mtool.work/python/3.14/library/configparser.html
- 索引 — Python 3.14.8 ドキュメント 8097
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – G gaierror gamma() (math モジュール) gammavariate() (random モジュール) garbage (gc モジュール) garbage collection , [1] gather() (asy
...ソッド) getbegyx() (curses.window のメソッド) getbkgd() (curses.window のメソッド) getblocking() (socket.socket のメソッド) getboolean() (configparser.ConfigParser のメソッド) (tkinter モジュール) (tkinter.Misc のメソッド) getbuffer() (io.BytesIO のメソッド... - https://man.mtool.work/python/3.14/genindex-G.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 8097
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
.... config() is an alias of configure() . keys ( ) ¶ Return a list of the names of all configuration options of this widget. getboolean ( s ) ¶ Interpret the string s as a Tcl boolean and return the corresponding bool . Tcl accepts values such as '1' , '0' ,...e default root window until all windows are destroyed. Equivalent to calling Misc.mainloop() on the default root. tkinter. getboolean ( s ) ¶ Convert the Tcl boolean string s (one of '1' , 'true' , 'yes' , 'on' and similar, or their false counterparts) to... - https://man.mtool.work/python/3.14/library/tkinter.html
- 索引 — Python 3.14.8 ドキュメント 8097
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – G gaierror gamma() (math モジュール) gammavariate() (random モジュール) garbage (gc モジュール) garbage collection , [1] gather() (asy
...ソッド) getbegyx() (curses.window のメソッド) getbkgd() (curses.window のメソッド) getblocking() (socket.socket のメソッド) getboolean() (configparser.ConfigParser のメソッド) (tkinter モジュール) (tkinter.Misc のメソッド) getbuffer() (io.BytesIO のメソッド... - https://man.mtool.work/python/3.14/genindex-G.html
- tkinter --- Tcl/Tk の Python インターフェース — Python 3.14.8 ドキュメント 7970
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » tkinter --- Tcl/Tk の Python インターフェース テーマ 自動 ライト ダーク | tkinter --- Tcl/Tk の
.... config() is an alias of configure() . keys ( ) ¶ Return a list of the names of all configuration options of this widget. getboolean ( s ) ¶ Interpret the string s as a Tcl boolean and return the corresponding bool . Tcl accepts values such as '1' , '0' ,... - https://man.mtool.work/python/3.14/library/tkinter.html
- 索引 — Python 3.14.8 ドキュメント 7826
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ
...ソッド) getbegyx() (curses.window のメソッド) getbkgd() (curses.window のメソッド) getblocking() (socket.socket のメソッド) getboolean() (configparser.ConfigParser のメソッド) (tkinter モジュール) (tkinter.Misc のメソッド) getbuffer() (io.BytesIO のメソッド... - https://man.mtool.work/python/3.14/genindex-all.html
- 変更履歴 — Python 3.14.8 ドキュメント 7826
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ining orderable and non-orderable elements no longer depends on iteration order of set or dict. bpo-15133 : _tkinter.tkapp.getboolean() now supports Tcl_Obj and always returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, an... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV
1
NEXT