SHARE
TWEET

Untitled

a guest Jun 18th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. with open(sys.argv[1], encoding="utf-8") as tsv_file:
  2. csv_reader = csv.reader(tsv_file, delimiter="t")
  3.  
  4. counter = Counter()
  5.  
  6. for entry in csv_reader:
  7.  
  8.     title = entry[1]
  9.     counter [title] += len(title)
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
 
Top