view pyikriam/example.py @ 108:d3bece9b06b2

fixed the couting *again*
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Wed, 29 Oct 2008 15:56:04 +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