diff options
Diffstat (limited to 'python/demo.py')
-rw-r--r-- | python/demo.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/demo.py b/python/demo.py new file mode 100644 index 0000000..4ecb0f1 --- /dev/null +++ b/python/demo.py @@ -0,0 +1,7 @@ +from mateweather.I_KNOW_THIS_IS_UNSTABLE import mateweather + +for loc in mateweather.location_new_world(False).get_children(): + print loc.get_name() + for zone in loc.get_timezones(): + if zone.get_name() is not None: + print " %s" % zone.get_name() |