sam wrote:
Since each line of the configuration file need to be parsed into "key"
and "value" pairs, these pair of tokens need to be stored in another
list. Can I use the following operation to store these pair of tokens?
eg.
Assumed macro_hash["key"]="some key"
macro_hash["value"]="some valu
Larry Bates wrote:
sam wrote:
Hi,
I have a configuration file need to be processed (read/write) by python.
Currently I the following method can only read and store data that
python read a line from a configuraiton file:
def _parse (self):
# parse message
m = self.FWShow_Command.match
sam wrote:
> Hi,
>
> I have a configuration file need to be processed (read/write) by python.
> Currently I the following method can only read and store data that
> python read a line from a configuraiton file:
> def _parse (self):
> # parse message
> m = self.FWShow_Command.match