I have a text file that contains Road Name types paired with their abbreviated form.
For example:
...
Avenue,Av
Road,Rd
South East,SE
Terrace,Tce
...
How do I a create a dictionary variable from this CSV file in python 2.5.1 so I can get it in this form?
{...'Avenue': 'Av', 'Road': 'Rd', 'South East': 'SE', 'Terrace': 'Tce'...}
Would csv.DictWriter do the job?
Regards