-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexport.py
More file actions
25 lines (22 loc) · 683 Bytes
/
Copy pathexport.py
File metadata and controls
25 lines (22 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import csv
def stack_save(jobs):
file = open(f'stackoverflow.csv', mode='w')
writer = csv.writer(file)
writer.writerow(['title','company','link'])
for job in jobs:
writer.writerow(list(job.values()))
return
def wework_save(jobs):
file = open(f'weworkremotely.csv', mode='w')
writer = csv.writer(file)
writer.writerow(['title','company','link'])
for job in jobs:
writer.writerow(list(job.values()))
return
def remote_save(jobs):
file = open(f'remoteok.csv', mode='w')
writer = csv.writer(file)
writer.writerow(['title','company','link'])
for job in jobs:
writer.writerow(list(job.values()))
return