Python implementation of Valve Key Values format.
Project description
Module for parsing, using and writing files with Key Values format used by Valve.
The parser is supposed to follow the format specification, which is reproduced on this Valve Developer Wiki page. The exception is for macros (eg #base, #include).
The KeyValues class has an interface compatible with Python dictionaries, with addition to the load(filename) and save(filename) methods.