tnx...i am working on this task n hope ur idea cn be helpful...
On May 14, 8:03 pm, djidjadji <[email protected]> wrote: > Write a python script that does the following > > #---------------------------------------------------- > Afile = open("Afile.csv") > Alines = Afile.readlines() > Afile.close() > Bfile = open("Afile.csv") > Blines = Bfile.readlines() > Bfile.close() > > for lineA,lineB in zip(Alines,Blines): > # convert the lines to the one you want > print theLine > #---------------------------------------------------- > > Redirect the ouptput to a file and construct a loader for this new csv file > > 2009/5/14 Nik <[email protected]>: > > > > > Hi All, > > > ::programming code has to be in python :: > > I have a problem in the task : > > > i have two Csv files A & B which has following contents: > > > A file.csv B file.csv > > label a(4labels) 3 users > > label b (7labels) 10 users > > label c (8labels) 12 users > > > now i want my output like this > > > 12(4*3)labels crated for label a category > > > 70(7*10)labels crated for label b category > > > 96(8*12)labels crated for label c category > > > so thats d task ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
