Advertisement
Guest User

Untitled

a guest
Jan 11th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. def importar_datos_excel(request):
  2. open_libro= open_workbook("D:TrabajoDocumentosConmutadosconmutados.xls")
  3. hoja= open_libro.sheet_by_index(0)
  4. filas= hoja.nrows
  5. columnas= hoja.ncols
  6. for fil in range(1,filas):
  7. conmutado = ""
  8. for col in range(columnas):
  9. conmutado = hoja.cell(fil,col)
  10. print(conmutado.value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement