diff options
author | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
commit | fe8aea1c3b5348347633da18a02b0bffd3b266a1 (patch) | |
tree | 9881bf77df7572844707cc7c50bd8ca6b5a97076 /python/demo.py | |
download | libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.bz2 libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
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() |