view pyikriam/example.py @ 153:25dcc1fffeef

friend or foe identification
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sat, 01 Nov 2008 04:29:08 +0800
parents 19d2a7b175b3
children 7551342718b6
line wrap: on
line source

from __init__ import Ikariam

i = Ikariam()
city = i.city(117261)
city.sync()
print 'gold is'+city.gold