Version 1.0
Copyright © 2023 Lowell D. Thomas
python-ini
 … powered by Python APG
All Classes Namespaces Files Functions Variables Pages
Variables
basic Namespace Reference

Variables

string title
 
string ini_file
 
 ini = IniFile()
 
 fstr
 
 keys = ini.get_keys()
 
 values = ini.get_values(key)
 
 key
 
 end
 

Variable Documentation

◆ end

basic.end

Definition at line 40 of file basic.py.

◆ fstr

basic.fstr

Definition at line 30 of file basic.py.

◆ ini

basic.ini = IniFile()

Definition at line 29 of file basic.py.

◆ ini_file

string basic.ini_file
Initial value:
1 = '''
2 IP-address = 10.87.1.209 ; string
3 name = "Sam Johnson" ; double-quoted string
4 $(funny-key)%: 'Joe Blow' ; single-quoted string, colon key/value separator
5 number = 100 ; integer number
6 false-flag = false ; boolean
7 true-flag ; boolean true flag (no value default)
8 '''

Definition at line 20 of file basic.py.

◆ key

basic.key

Definition at line 40 of file basic.py.

◆ keys

basic.keys = ini.get_keys()

Definition at line 35 of file basic.py.

◆ title

string basic.title
Initial value:
1 = '''This is a very basic demonstration using a simple INI file.
2 It has only an anonymous, global section with no section names.
3 All keys are single valued. The keys are all listed along with their values.
4 '''

Definition at line 13 of file basic.py.

◆ values

basic.values = ini.get_values(key)

Definition at line 39 of file basic.py.

Python APG, Version 1.0, is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.