Mercurial > eagle-eye
comparison pyikriam/example.py @ 166:f7fd2738b9b4
Move Ikariam out of __init__.py to ikariam.py.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 02 Nov 2008 00:59:00 +0800 |
parents | e49137521123 |
children | 8f699a9da6c0 |
comparison
equal
deleted
inserted
replaced
165:4f06f72365fa | 166:f7fd2738b9b4 |
---|---|
1 import sys | 1 import sys |
2 from __init__ import Ikariam | 2 from ikariam import Ikariam |
3 | 3 |
4 if len(sys.argv) != 2: | 4 if len(sys.argv) != 2: |
5 print >> sys.stderr, 'Usage: %s <city id>' % (sys.argv[0]) | 5 print >> sys.stderr, 'Usage: %s <city id>' % (sys.argv[0]) |
6 sys.exit(1) | 6 sys.exit(1) |
7 pass | 7 pass |