comparison pyikriam/example.py @ 245:a344c54f15c7

merge work
author hychen@mluna
date Thu, 23 Oct 2008 00:47:56 +0800
parents 19d2a7b175b3
children 7551342718b6
comparison
equal deleted inserted replaced
73:c20912354d1d 245:a344c54f15c7
1 from __init__ import Ikariam 1 from __init__ import Ikariam
2 2
3 i = Ikariam(server='s1.ikariam.tw', username='hychen', password='') 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