Re: create/access dynamic growth list

2005-03-19 Thread Kent Johnson
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

Re: create/access dynamic growth list

2005-03-18 Thread sam
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

Re: create/access dynamic growth list

2005-03-18 Thread Larry Bates
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