| |
---|
| | |
---|
| | # Program Information |
---|
| | |
---|
| | PROGNAME = "tconfpy" |
---|
| | RCSID = "$Id: tconfpy.py,v 1.152 2004/03/31 22:07:05 tundra Exp $" |
---|
| | RCSID = "$Id: tconfpy.py,v 1.153 2004/03/31 22:40:02 tundra Exp $" |
---|
| | VERSION = RCSID.split()[2] |
---|
| | |
---|
| | # Copyright Information |
---|
| | |
---|
| |
---|
| | #----------------------------------------------------------# |
---|
| | |
---|
| | |
---|
| | #------------------- Nothing Below Here Should Need Changing -----------------# |
---|
| | |
---|
| | |
---|
| | #----------------------------------------------------------# |
---|
| | # Imports # |
---|
| | #----------------------------------------------------------# |
---|
| |
---|
| | # End of 'mkmsg()' |
---|
| | |
---|
| | |
---|
| | #----------------------------------------------------------# |
---|
| | # Entry Point On Direct Invocation # |
---|
| | #----------------------------------------------------------# |
---|
| | |
---|
| | if __name__ == '__main__': |
---|
| | |
---|
| | print BANNER |
---|
| | |
---|
| | |
---|
| | |
---|
| | #----------------------------------------------------------# |
---|
| | # Public API To Module # |
---|
| | #----------------------------------------------------------# |
---|
| | |
---|
| | def ParseConfig(cfgfile, InitialSymTbl={}, Debug=False, LiteralVars=False): |
---|
| |
---|
| | |
---|
| | # End of 'ParseLine' |
---|
| | |
---|
| | |
---|
| | #----------------------------------------------------------# |
---|
| | # List Of Public Names Available To Program Importing Us # |
---|
| | #----------------------------------------------------------# |
---|
| | |
---|
| | |
---|
| | __all__ = ["ParseConfig", |
---|
| | "TYPE_BOOL", |
---|
| | "TYPE_COMPLEX", |
---|
| | "TYPE_FLOAT", |
---|
| | "TYPE_INT", |
---|
| | "TYPE_STRING", |
---|
| | "VarDescriptor" |
---|
| | ] |
---|
| | |
---|
| | |
---|
| | #----------------------------------------------------------# |
---|
| | # Entry Point On Direct Invocation # |
---|
| | #----------------------------------------------------------# |
---|
| | |
---|
| | if __name__ == '__main__': |
---|
| | |
---|
| | print BANNER |
---|
| | |
---|
| | |
---|
| | |
---|
| | |
---|
| | |