Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3.  
  4. from backports import csv
  5. import io
  6.  
  7. filename="/home/bofh/clientes.txt"
  8.  
  9. def read_csv(f):
  10. with io.open(f, newline='', encoding='utf-8') as f:
  11. for row in csv.reader(f):
  12. #yield row
  13. print row
  14.  
  15.  
  16. read_csv(filename)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement