Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Searched Stackoverflow for examples
  2.  
  3. with open('H:/PythonCode/EPipe/InputFile.csv') as f:
  4. output = [str(s) for line in f.readlines() for s in line[:+16].split (',')]
  5. print(output);
  6.  
  7. for x in range(0,len(output)):
  8.  
  9. counter = 0
  10. for y in range(0,len(output[x])):
  11. counter = counter + 1
  12. print("there are", counter, "Chars in list")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement