Ok I got it from the solution you provided on your previous mail. Thanks again
Thanks Niraj On Tue, Oct 4, 2016 at 12:05 PM, niraj pandey <nirajkumarpan...@gmail.com> wrote: > Attaching two snapshots here. > > In first snapshot (1.png) I have the label windows without the values and > in second window (2.png) every label have some value. > I want to put these values in front of every label. I have already stored > these values in a variable. > > Thanks > Niraj > > On Mon, Oct 3, 2016 at 10:02 PM, niraj pandey <nirajkumarpan...@gmail.com> > wrote: > >> Hello Alan , >> >> I am using python 2.7.10 and using RHEL6 >> >> Thanks >> >> >> On Mon, Oct 3, 2016 at 8:53 PM, Alan Gauld via Tutor <tutor@python.org> >> wrote: >> >>> On 03/10/16 10:54, niraj pandey wrote: >>> >>> > I want to add every lebels value here (ie fetch from DB and display in >>> > front of every lebel or I had store every lable value in variable and >>> > display here). >>> >>> You need to tell us which OS, Python version and GUI >>> toolkit you are using. >>> >>> > [image: Inline image 1] >>> >>> This is a text list so images usually get stripped off. >>> If absolutely necessary to send an image use a link to an >>> image gallery somewhere. >>> >>> But at least try to explain what you are trying to show us. >>> >>> > Is there any function which I can use for this (like we have entry.get >>> to >>> > get the value similar any function to put the value) >>> >>> Assuming you are using Tkinter there is an insert() method. >>> To put text at the end of the entry use >>> >>> import tkinter as tk >>> myText = "Hello world" >>> top = tk.Tk() >>> >>> myEntry = tk.Entry(top) >>> myEntry.pack() >>> myEntry.insert(tk.END,mytext) >>> >>> top.mainloop() >>> >>> >>> However a common alternative is to use a StringVar and associate it with >>> the Entry so that changes in the StringVar are automatically >>> shown in the Entry and changes in the Entrey are reflected to the >>> StringVar. Most Tkinter tutorials will show that under StringVar. >>> >>> Of course if you are not using Tkinter most of that will be useless! >>> >>> >>> -- >>> Alan G >>> Author of the Learn to Program web site >>> http://www.alan-g.me.uk/ >>> http://www.amazon.com/author/alan_gauld >>> Follow my photo-blog on Flickr at: >>> http://www.flickr.com/photos/alangauldphotos >>> >>> >>> _______________________________________________ >>> Tutor maillist - Tutor@python.org >>> To unsubscribe or change subscription options: >>> https://mail.python.org/mailman/listinfo/tutor >>> >> >> >> >> -- >> Success occurs when opportunity and preparation meet >> > > > > -- > Success occurs when opportunity and preparation meet > -- Success occurs when opportunity and preparation meet _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor