Version 1.0
Copyright © 2022 Lowell D. Thomas
Python APG
 … an ABNF Parser Generator
Variables
examples.ini_file.main Namespace Reference

Variables

string title
 
 ini = IniFile()
 
string fname = 'examples/ini_file/data'
 
 keys = ini.get_keys()
 
 values = ini.get_values(key)
 
 end
 
 sections = ini.get_sections()
 
 key
 

Variable Documentation

◆ end

examples.ini_file.main.end

Definition at line 57 of file main.py.

◆ fname

string examples.ini_file.main.fname = 'examples/ini_file/data'

Definition at line 39 of file main.py.

◆ ini

examples.ini_file.main.ini = IniFile()

Definition at line 35 of file main.py.

◆ key

examples.ini_file.main.key

Definition at line 76 of file main.py.

◆ keys

examples.ini_file.main.keys = ini.get_keys()

Definition at line 48 of file main.py.

◆ sections

examples.ini_file.main.sections = ini.get_sections()

Definition at line 62 of file main.py.

◆ title

string examples.ini_file.main.title
Initial value:
1 = '''This is a demonstration of building a substantial
2 "real life", parser for parsing the well-known ini file format
3 for key/value pairs in possibly named sections.
4 This parser recognizes an ini file format similar to the
5 one described here(https://en.wikipedia.org/wiki/INI_file).
6 '''

Definition at line 26 of file main.py.

◆ values

examples.ini_file.main.values = ini.get_values(key)

Definition at line 53 of file main.py.

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