summaryrefslogtreecommitdiff
path: root/python/demo.py
blob: 4ecb0f1fac87d310f819b5068b812a1b07f2a13c (plain)
1
2
3
4
5
6
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()