SHARE
TWEET

Untitled

a guest Feb 19th, 2020 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     with open(file, 'a', encoding='utf-8') as csv_file:
  2.         fieldnames = ['itunes_id','imdb_title','imdb_id','imdb_director_01', 'imdb_director_02', 'imdb_director_03', 'imdb_director_04', 'imdb_director_05', 'imdb_actor_01', 'imdb_actor_02', 'imdb_actor_03', 'imdb_actor_04', 'imdb_actor_05', 'output_director_01', 'output_director_02', 'output_director_03', 'output_director_04', 'output_director_05', 'output_actor_01', 'output_actor_02', 'output_actor_03', 'output_actor_04', 'output_actor_05', 'match_score']
  3.         csv_writer = csv.DictWriter(csv_file, delimiter='|', fieldnames=fieldnames, lineterminator='\n')
  4.         csv_writer.writerow(params)
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