Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def database_save():
     import Tkinter as tk
     img = tk.PhotoImage(format='gif',data=     
             'R0lGODlhEAAQAIcAAAAAACBarS5fpjppqj5qqzNoukRtq0RwsFd+u1F/w1N/'
            +'wV2Ev1SBxFWDxliEw1uGx12IyGGKx2CJyWGLyWKLyGWNymWNzGiOzWyLzWiL'
            +'026K122L2myN3GmQzW6TzG6X1HGY0HOZ0XOa1HWa0Hee2Xmc1Xue1Hie2Hif'
            +'2Hmf23uc3XCP4Xmg2Xqg2Xuh3Hyj232j3n6l3YS/UYS/VJjJb5nJcZWVlZmZ'
            +'mZ+fn6GhoaOjo6Wlpaenp6mpqaurq6ysrK2tra6urq+vr7CwsLGxsbKysrOz'
            +'s7S0tLW1tba2tre3t7i4uLm5ubq6uru7u7y8vIKk1oCm3YWi3YWo3YGn4YGn'
            +'4oyv5JK15pe26pq275m46qG/6qG/757A77PH47rO77DN88fuh8fujNf0otf2'
            +'osDAwMLCwsPDw87Ozs/Pz9DQ0NHR0dLS0tTU1NXV1dbW1tjY2NnZ2dvb29zc'
            +'3N3d3d7e3v//3eDg4OHh4eLi4uPj4+Xl5ebm5ufn5+jo6Orq6uvr6+3t7e7u'
            +'7u/v7+Xx7ebx7ebw7+bx7+n05Ojz6urz8+318///4PDw8PLy8vPz8/T09PX1'
            +'9fb29vf39/H4//f7//j4+Pr6+vv7+/r7/fr8/fv8/fv8/vz8/P39/fz9/v39'
            +'/v7+/v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
            +'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
            +'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
            +'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
            +'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
            +'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
            +'AAAAAAAAAAAAAAAAAAAAACH5BAMAAKMALAAAAAAQABAAAAjwAEcJbLJESZIj'
            +'AhMqdKLGzyNPnQLdMQNE4agmeEKJ2sgRU5oeCplY0shxI6Y/PBQqmdRnkCRM'
            +'lxrVOcNnh0IkkgDVeeNmzZknZfboUHgkkiA+efh8MAECyoUOI0JQGFUE0h88'
            +'dPRYACPKS8ktEoY86kMnzp0HXUR52FiJkpUIQRzlgeNmDgQumjiB+pRp0xQF'
            +'P2S2YSOngpYYUV60YIHixIIedR7JITzhShUqMFykICECwagdaAJBisQAi6JC'
            +'hwwRWlTigMAcOHL4SJAlkQwaNWYgUjHA4qgGX+yEGUNGDCMpBHwXcJBhBYcN'
            +'GjAYEBAQADs=')
     return img     
        


src/p/e/PEATDB-2.3/PEATDB/PEATApp.py   PEATDB(Download)
        hlptxt="Connect to DB"
        self.toolbar.add_button('Connect to Project', self.connectDialog, img, hlptxt)
        img = PEAT_images.database_save()
        hlptxt="Save current changes"
        self.toolbar.add_button('Save Changes', self.saveDB, img, hlptxt)