Error In querying Genderize.io. Can someone please help

2016-12-01 Thread handar94
import requests import json names={'katty','Shean','Rajat'}; for name in names: request_string="http://api.genderize.io/?"+name r=requests.get(request_string) result=json.loads(r.content) Error--- Traceback (most recent call last): File

csv into multiple columns using split function using python

2016-11-29 Thread handar94
I am trying to split a specific column of csv into multiple column and then appending the split values at the end of each row. `enter code here` import csv fOpen1=open('Meta_D1.txt') reader=csv.reader(fOpen1) mylist=[elem[1].split(',') for elem