per page, with , order by , clip by
Results of 1 - 1 of about 1 for forge (0.001 sec.)
configparser --- 設定ファイルのパーサー 9414
configparser --- 設定ファイルのパーサー ソースコード: Lib/configparser.py このモジュールは、 Microsoft Windows の INI ファイルに似た構造を持ったベーシックな設定用言語を実装した ConfigParser クラスを提供します。このクラスを使ってユーザーが簡 ... 設定ファイルを例に考えましょう: [DEFAULT] ServerAliveInterval = 45 Compression = yes CompressionLevel = 9 ForwardX11 = yes [forge.example] User = hg [topsecret.server.example] Port = 50022 ForwardX11 = no INI ファイルの構造は 次の節 で説明します。 基本 ... [ 'DEFAULT' ] = { 'ServerAliveInterval' : '45' , ... 'Compression' : 'yes' , ... 'CompressionLevel' : '9' } >>> config [ 'forge.example' ] = {} >>> config [ 'forge.example' ][ 'User' ] = 'hg' >>> config [ 'topsecret.server.example' ] = {} >>> topsecr ... ConfigParser () >>> config . sections () [] >>> config . read ( 'example.ini' ) ['example.ini'] >>> config . sections () ['forge.example', 'topsecret.server.example'] >>> 'forge.example' in config True >>> 'python.org' in config False >>> config [ 'fo ...
https://man.mtool.work/python/3.14/library/configparser.html
PREV 1 NEXT