Mercurial > eagle-eye
comparison pyikriam/example.py @ 64:19d2a7b175b3
Load configure data from .eagleeye.pm
author | kevin@localhost.localdomain |
---|---|
date | Wed, 22 Oct 2008 05:57:19 +0800 |
parents | a4c364888197 |
children | 7551342718b6 |
comparison
equal
deleted
inserted
replaced
63:1c42ae140ad3 | 64:19d2a7b175b3 |
---|---|
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 |