RE: scoreboard with text file? 12-05-2013, 03:15 PM
#11
Print both key and content
| scoreboard with text file? filter_list | |
(12-05-2013, 04:41 PM)joeb12 Wrote: Hmmm, this sound like somebody's homework.not really homework just projects we are playing with
1) Setup a loop (for probably) to iterrate around the file.
2) Read the first line to a temporary variable (let's say key).
3) Read the next line to a tempoary variable (let's say content).
4) Assign key:content to the dictionary.
5) Repeat until there are no more lines.
(12-05-2013, 04:41 PM)joeb12 Wrote: Hmmm, this sound like somebody's homework.not really homework just projects we are playing with
1) Setup a loop (for probably) to iterrate around the file.
2) Read the first line to a temporary variable (let's say key).
3) Read the next line to a tempoary variable (let's say content).
4) Assign key:content to the dictionary.
5) Repeat until there are no more lines.