python - error<0x275b990> - what does this mean -


i have function, i'm not familiar error or how correct it.

def intify(file1):     numbers=range(0,10)     strnum=[]     x in numbers:         strnum.append(str(x))      number1=[]     line in file1:         split in line.split(' '):                 number1.append(split)      listnum=[]     x in number1:         if x[0] in strnum:             listnum.append(x)      w=map(float, listnum)     #return w     print(w) 

error map object @ 0x275b990

error map object @ 0x275b990

it not error - print address of iterator, returned map. print list(w) make sure everything's alright. of course, should not return list(w) since unnecessary , expensive.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -