Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/w/a/Wallpaper-Downloader-and-Rotator-for-Gnome-HEAD/02_wallpaper_rotator.py   Wallpaper-Downloader-and-Rotator-for-Gnome(Download)
def print_info():
    li = [cfg.get_photo_dir_by_key(key) for key in cfg.ROTATOR_CHOICE]
 
    print "# Jabba's Wallpaper Rotator for Gnome v0.2"
    print "#", li
    def collect_images(self):
        """Collect images from _several_ directories."""
        li = []
        for key in cfg.ROTATOR_CHOICE:
            photo_dir = cfg.get_photo_dir_by_key(key)