Smart Tech

Sunday, February 21, 2016

Reading csv file using python

import unicodecsv

with open(filename , 'rb') as f:
    read_data = unicodecsv.DictReader(f)
    data = list(read_data )
   
print data [:]
Posted by Sree Sindhu Sruthi at 12:35 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2021 (6)
    • ►  September (1)
    • ►  August (1)
    • ►  July (4)
  • ►  2020 (1)
    • ►  May (1)
  • ►  2019 (2)
    • ►  March (2)
  • ►  2018 (1)
    • ►  February (1)
  • ►  2017 (3)
    • ►  May (2)
    • ►  January (1)
  • ▼  2016 (19)
    • ►  November (4)
    • ►  October (1)
    • ►  September (3)
    • ►  August (2)
    • ►  June (1)
    • ►  March (2)
    • ▼  February (4)
      • Cashless transaction with local Transport - part 3
      • Cashless transaction with local Transport - part 2
      • Cashless transaction with local Transport
      • Reading csv file using python
    • ►  January (2)
  • ►  2015 (19)
    • ►  November (2)
    • ►  June (12)
    • ►  May (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2014 (2)
    • ►  October (2)
  • ►  2013 (4)
    • ►  August (1)
    • ►  April (1)
    • ►  March (2)

About Me

Sree Sindhu Sruthi
View my complete profile
Simple theme. Theme images by luoman. Powered by Blogger.