File: demo.py

package info (click to toggle)
libmateweather 1.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 56,212 kB
  • sloc: ansic: 5,224; makefile: 741; sh: 78; perl: 66; python: 12
file content (7 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (4)
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()