SHARE
TWEET

Untitled

dehgobbo May 26th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # passo1_importar aequivo csv com as mensagens dos clientes
  2. import csv
  3.  
  4.  
  5. arquivo = open('base.csv')
  6.  
  7. base = csv.reader(arquivo)
  8. for base in base:
  9.     print(base)
  10.  
  11.  
  12.  
  13. import re
  14. base = re.sub(u'[^a-zA-Z0-9áéíóúÁÉÍÓÚâêîôÂÊÎÔãõÃÕçÇ: ]', '', string_velha.decode('utf-8'))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top