Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

src/g/m/gmbox-HEAD/gmbox/gmbox.py   gmbox(Download)
                      CHARTLISTING_DIR, ARITST, GENRES, LANGS,
                      print_song)
from config import (CONFIG, ICON_DICT, get_glade_file_path, 
                    load_config_file, save_config_file)
from player import Player
        self.mainwin.hided = False
        self.mainwin.set_title("谷歌音乐盒 - 0.4 beta")
        self.mainwin.set_icon(ICON_DICT["gmbox"])
 
        # 主面板
    def init_status_icon(self):
        '''初始化通知区域图标'''
 
        self.status_icon = gtk.StatusIcon()
        self.status_icon.set_from_pixbuf(ICON_DICT["gmbox"])
    def on_about_menuitem_activate(self, widget, data=None):
        self.about_dialog.set_logo(ICON_DICT["gmbox"])
        self.about_dialog.set_icon(ICON_DICT["gmbox"])
        self.about_dialog.run()
 

src/g/m/gmbox-HEAD/gmbox/treeviews.py   gmbox(Download)
from libgmbox import (Song, Songlist, Directory,
                      CHARTLISTING_DIR, TAG_DIR)
from config import ICON_DICT
from downloader import Downloader
 
        def init_icon(self):
            if self.type == Song:
                self.icon = ICON_DICT["song"]
            if self.type == Songlist:
                self.icon = ICON_DICT["songlist"]
            if self.type == Directory:
                self.icon = ICON_DICT["directory"]

src/g/m/gmbox-HEAD/gmbox/pages.py   gmbox(Download)
import threading
from libgmbox import Song, Songlist
from config import ICON_DICT
 
class ResultPageLabel(gtk.EventBox):
        def __init__(self, name):
            self.name = name
            self.artist = ""
            self.album = ""
            self.icon = ICON_DICT["refresh"]
        def __init__(self, name):
            self.name = name
            self.artist = ""
            self.album = ""
            self.icon = ICON_DICT["info"]
            if not hasattr(song, "album"):
                song.album = ""
            song.icon = ICON_DICT["song"]
            self.liststore.append((song,))
        if self.result.has_more:
            if not hasattr(songlist, "album"):
                songlist.album = ""
            songlist.icon = ICON_DICT["songlist"]
            parent_index = self.treestore.append(None, (songlist,))
            self.treestore.append(parent_index, (refresh_node,))