per page, with , order by , clip by
Results of 1 - 2 of about 2 for getboolean (0.004 sec.)
configparser --- 設定ファイルのパーサー 11228
configparser --- 設定ファイルのパーサー ソースコード: Lib/configparser.py このモジュールは、 Microsoft Windows の INI ファイルに似た構造を持ったベーシックな設定用言語を実装した 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
tkinter --- Tcl/Tk の Python インターフェース 7485
tkinter --- Tcl/Tk の Python インターフェース ソースコード: Lib/tkinter/__init__.py tkinter パッケージ ("Tk インターフェース") は、 Tcl/Tk GUI ツールキットに対する標準の Python インターフェースです。 Tk と tkinter は macOS を含むほとんどの ... same way. config() は configure() の別名です。 keys ( ) このウィジェットのすべての設定オプションの名前をリストで返します。 getboolean ( s ) 文字列 s を Tcl の真偽値として解釈し、対応する bool を返します。 Tcl は '1' 、 '0' 、 'yes' 、 'no' 、 'true' 、 'fa ...
https://man.mtool.work/python/3.14/library/tkinter.html
PREV 1 NEXT