<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><FONT style="BACKGROUND-COLOR: #ff0000">Traceback (most recent call last):<BR> File "C:\Python25\empire\Empire Strategy.pyw", line 322<BR> Maty = Searched(number)<BR>TypeError: 'list' object is not callable</FONT>
<DIV> </DIV>
<DIV>My list is NewMap1 =[0,0,0,0,0,0,2,0,2,2,3,2,0,0,0,0]</DIV>
<DIV> </DIV>
<DIV>so Maty Searched(number is supposed to give me 0 when</DIV>
<DIV> Search = "NewMap"</DIV>
<DIV> number = 0<BR> bignum = 1<BR> bignumer = repr(bignum)<BR> Searching = Search+bignumer<BR> Searched = eval(Searching)<BR> Maty = Searched[number]</DIV>
<DIV> </DIV>
<DIV>instead i get that error whats up? i thought it is suppose to give me NewMap1(0).when I print it it works fine and gives me the result 0 but when I go to save the number as Maty-(randomletters) it keeps giving me the stupid error.</DIV>
<DIV> </DIV>
<DIV>please help</DIV>
<DIV> </DIV>
<DIV>Ps: rather than doing in your head making a test prgram to run exactly that might be better</DIV></div><br>
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a></body></html>