view pyikriam/example.py @ 93:73f0a1cafc23

upgrade townHall first, then the wall.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 27 Oct 2008 11:06:11 +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