But when I do this:
Código (Python):
for obj in gen:
genres [obj.GenreType] = obj.id
print genres [obj.GenreType]
Prints the id of the genre, so it is wrong right?
Now I am not going to achieve is check if the genre that I have the csv is
in the dictionary and if it gets the
On Fri, Apr 26, 2013 at 1:56 PM, Hélio Miranda wrote:
> I am uploading a csv file with movies for bd.
> Ok, I'm getting it, but my problem is that the movie has genre, but I can
> not insert the genre, I have to insert the id of the genre, so I'm going to
> fetch the genres to put a dictionary, Ge
2 matches
Mail list logo