Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. def getCookie(fileName):
  2.     arCookies = []
  3.     with open(fileName, 'rb') as csvfile:
  4.         reader = csv.reader(csvfile, delimiter=';', quotechar='|')
  5.         for cookie in reader:
  6.             arCookie = [cookie[0], cookie[1], cookie[2], cookie[3]]
  7.             arCookies += [arCookie]
  8.     return arCookies
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement