Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- rows = []
- for line in open('gene_names.csv'):
- a,b,c = line.replace('\n','').split(',')
- rows.append([a,c])
- for file in sys.argv[1:]:
- for i, line in enumerate(open(file)):
- rows[i] += line.replace('\n','').split(',')[2:]
- for row in rows:
- print ','.join(row)
Add Comment
Please, Sign In to add comment