comparison pyikriam/example.py @ 161:1507c2d16b35

Extract wood, marble, crystal, sulfure, and inhabitants information.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 01 Nov 2008 22:21:25 +0800
parents 7551342718b6
children e49137521123
comparison
equal deleted inserted replaced
160:7551342718b6 161:1507c2d16b35
2 2
3 i = Ikariam() 3 i = Ikariam()
4 city = i.city(117261) 4 city = i.city(117261)
5 city.sync() 5 city.sync()
6 print 'gold is ' + city.gold 6 print 'gold is ' + city.gold
7 print 'inhabitants is ' + city.inhabitants
8 print 'wood is ' + city.wood
9 print 'wine is ' + city.wine
10 print 'marble is ' + city.marble
11 print 'crystal is ' + city.crystal
12 print 'sulfur is ' + city.sulfur
7 13
14