Hi,
I have created a Simple Dialog with ComboBox and Radio buttons.When I execute my UI source code.I am able to see the dialog .When I Close the Dialog,I am not able to edit the source code for the dialog.I have to go to the task manager and kill the PythonWin.exe and restart the PythonWin and work on the UI modifications.
Whether anybody has faced the similar problem,If so ,your help will be really appreciated
Thanks
PSB
12 2005
Hi,
I have created a Simple Dialog with ComboBox and Radio buttons.When I execute my UI source code.I am able to see the dialog .When I Close the Dialog,I am not able to edit the source code for the dialog.I have to go to the task manager and kill the PythonWin.exe and restart the PythonWin and work on the UI modifications.
Whether anybody has faced the similar problem,If so ,your help will be really appreciated
Thanks
PSB
You must
dialogs when you are done with them.
Forum stuff:
You need to put "Tkinter" into your post titles. For example, in wxPython, it's
so please help us help others. Thanks.
Thanks Barton for the suggestion
-PSB
Hi,
First time when I execute the UI source code ,I am able to see the Dialog.When I close the dialog,and execute the Source code without closing the PythonWin IDE,I am not able to see the Dialog.To see that I have to close the application thru Task Manager by killing the "PythonWin.exe"
Thanks
PSB
Hi,
First time when I execute the UI source code ,I am able to see the Dialog.When I close the dialog,and execute the Source code without closing the PythonWin IDE,I am not able to see the Dialog.To see that I have to close the application thru Task Manager by killing the "PythonWin.exe"
Thanks
PSB
If you have destroy()ed the dialog and you are still having the problem, it may be because your tools don't work very well. The IDE should spawn a thread (new python instance in task manager) and run your program there, thereby having much greater control over the software under development.
In Tkinter -
What is the callback/handler function to be called for the "window closing", i.e "X" symbol shown at the right top location of the dialog.
-PSB
In Tkinter -
What is the callback/handler function to be called for the "window closing", i.e "X" symbol shown at the right top location of the dialog.
-PSB
wm portocol may be the thing you are after. Here is a snippet from a very complex window that I wrote a long time ago, but it works well: -
class Debugger:
-
"""Dialog Window for BCD11IDE's debugger.
-
-
"""
-
def __init__(self, root, menu=None, flist=None, srecord=''):
-
self.root = root
-
self.top = top = ListedToplevel(root, menu=menu)
-
self.flist = flist
-
-
top.option_add("*Entry*font", "Courier 10", 20)
-
top.configure(borderwidth=5)
-
top.geometry("+%d+%d" % (root.winfo_rootx()+75,
-
root.winfo_rooty()+100))
-
if menu is None:
-
root.withdraw() # Here, we are running from __main__
-
self.bg = "SystemButtonFace"
-
## self.bg = "white"
-
self.baudrate = baudrate = 9600 # Needed by baudrate value widget
-
self.quetime = quetime = 20.0/baudrate + .010
-
-
self.CreateWidgets(top) # Fit widgets into self
-
top.resizable(height=FALSE, width=FALSE) # then lock the size
-
-
top.title('BCD11IDE Debugger')
-
top.protocol("WM_DELETE_WINDOW", self.close)
-
top.tkraise()
-
top.wm_deiconify()
-
-
self.s19value.set(srecord)
-
-
self.textView.focus_set()
-
top.focused_widget = self.textView
-
# SNIP #
-
-
def CreateWidgets(self, top):
-
self.gui_only = False
-
self.frameMain = frameMain = Frame(top, borderwidth=2, relief=SUNKEN)
-
frameMain.grid(row=0, column=0)
-
frameBg = Frame(frameMain) # Make the background frame
-
## frameBg = Frame(frameMain, bg=self.bg) # Make the background frame
-
frameBg.pack(expand=TRUE, fill=BOTH)
-
# Put labels across row zero
-
Label(frameBg, text = 'Registers', bg=self.bg
-
).grid(row=0, column=0, sticky=EW, columnspan=2, padx=5, pady=5)
-
Label(frameBg, text='Addr / Label', bg=self.bg
-
).grid(row=0, column=2, sticky=W, columnspan=2, padx=5, pady=5)
-
Label(frameBg, text='Value', bg=self.bg
-
).grid(row=0, column=4, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text='Address', bg=self.bg
-
).grid(row=0, column=5, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text=' Machine Code ', bg=self.bg
-
).grid(row=0, column=6, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text='Label Name ', bg=self.bg
-
).grid(row=0, column=7, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text='Mnemonic and Operands', bg=self.bg
-
).grid(row=0, column=8, sticky=EW, columnspan=2, padx=5, pady=5)
-
Label(frameBg, text='Command', bg=self.bg
-
).grid(row=0, column=11, sticky=W, columnspan=1, padx=5, pady=5)
-
-
# Fill in row 1
-
Label(frameBg, text='PC', bg=self.bg
-
).grid(row=1, column=0, sticky=E, columnspan=1, padx=5)
-
pcvalue = StringVar(top)
-
pcentry = Entry(frameBg, textvariable=pcvalue, width=5)
-
pcentry.grid(row=1, column=1, sticky=W, columnspan=1, padx=5)
-
l1value = StringVar(top)
-
l1entry = Entry(frameBg, textvariable=l1value, width=12)
-
l1entry.grid(row=1, column=2, sticky=W, columnspan=2, padx=5)
-
m1value = StringVar(top)
-
m1entry = Entry(frameBg, textvariable=m1value, width=3)
-
m1entry.grid(row=1, column=4, sticky=W, columnspan=1, padx=5)
-
-
frameDisAsm = Frame(frameBg)
-
frameDisAsm.grid(row=1, column=5, sticky=N+SW, rowspan=6, columnspan=6, padx=5)
-
self.disAsmList = Listbox(frameDisAsm, width=60, height=8, takefocus=FALSE,
-
font=('Courier', 8), exportselection=FALSE)
-
self.dalScroll = Scrollbar(frameDisAsm, command=self.disAsmList.yview)
-
self.disAsmList.config(yscrollcommand=self.dalScroll.set)
-
self.disAsmList.pack(side=LEFT, expand=TRUE, fill=BOTH)
-
self.dalScroll.pack(side=LEFT, fill=Y)
-
self.disAsmList.bind('<Double-Button-1>', self.AsmListDoubleClick)
-
-
button = Button(frameBg, text='Call', command=self.Call, takefocus=0)
-
button.grid(row=1, column=11, sticky=N+EW, rowspan=2, columnspan=1, padx=5)
-
-
# Fill in row 2
-
Label(frameBg, text='Y', bg=self.bg
-
).grid(row=2, column=0, sticky=E, columnspan=1, padx=5)
-
yvalue = StringVar(top)
-
yentry = Entry(frameBg, textvariable=yvalue, width=5)
-
yentry.grid(row=2, column=1, sticky=W, columnspan=1, padx=5)
-
l2value = StringVar(top)
-
l2entry = Entry(frameBg, textvariable=l2value, width=12)
-
l2entry.grid(row=2, column=2, sticky=W, columnspan=2, padx=5)
-
m2value = StringVar(top)
-
m2entry = Entry(frameBg, textvariable=m2value, width=3)
-
m2entry.grid(row=2, column=4, sticky=W, columnspan=1, padx=5)
-
-
# Fill in row 3
-
Label(frameBg, text='X', bg=self.bg
-
).grid(row=3, column=0, sticky=E, columnspan=1, padx=5)
-
xvalue = StringVar(top)
-
xentry = Entry(frameBg, textvariable=xvalue, width=5)
-
xentry.grid(row=3, column=1, sticky=W, columnspan=1, padx=5)
-
l3value = StringVar(top)
-
l3entry = Entry(frameBg, textvariable=l3value, width=12)
-
l3entry.grid(row=3, column=2, sticky=W, columnspan=2, padx=5)
-
m3value = StringVar(top)
-
m3entry = Entry(frameBg, textvariable=m3value, width=3)
-
m3entry.grid(row=3, column=4, sticky=W, columnspan=1, padx=5)
-
button = Button(frameBg, text='Step', command=self.Step, takefocus=0)
-
button.grid(row=3, column=11, sticky=N+EW, rowspan=2, columnspan=1, padx=5)
-
-
# Fill in row 4
-
Label(frameBg, text='A:B', bg=self.bg
-
).grid(row=4, column=0, sticky=E, columnspan=1, padx=5)
-
-
frameDEntry = Frame(frameBg, relief=SUNKEN, borderwidth=2)
-
frameDEntry.grid(row=4, column=1, sticky=W, rowspan=1, columnspan=1, padx=5)
-
avalue = StringVar(top)
-
aentry = Entry(frameDEntry, textvariable=avalue, width=2, relief=FLAT, borderwidth=0)
-
aentry.pack(side=LEFT)
-
Label(frameDEntry, text=':', bg = "white", padx=0, pady=0).pack(side=LEFT, fill=Y)
-
bvalue = StringVar(top)
-
bentry = Entry(frameDEntry, textvariable=bvalue, width=2, relief=FLAT, borderwidth=0)
-
bentry.pack(side=LEFT)
-
-
l4value = StringVar(top)
-
l4entry = Entry(frameBg, textvariable=l4value, width=12)
-
l4entry.grid(row=4, column=2, sticky=W, columnspan=2, padx=5)
-
m4value = StringVar(top)
-
m4entry = Entry(frameBg, textvariable=m4value, width=5)
-
m4entry.grid(row=4, column=4, sticky=W, columnspan=1, padx=5)
-
-
# Fill in row 5
-
Label(frameBg, text='CC', bg=self.bg
-
).grid(row=5, column=0, sticky=E, columnspan=1, padx=5)
-
ccvalue = StringVar(top)
-
ccentry = Entry(frameBg, textvariable=ccvalue, width=3)
-
ccentry.grid(row=5, column=1, sticky=W, columnspan=1, padx=5)
-
l5value = StringVar(top)
-
self.l5entry = Entry(frameBg, textvariable=l5value, width=12)
-
self.l5entry.grid(row=5, column=2, sticky=W, columnspan=2, padx=5)
-
m5value = StringVar(top)
-
m5entry = Entry(frameBg, textvariable=m5value, width=5)
-
m5entry.grid(row=5, column=4, sticky=W, columnspan=1, padx=5)
-
button = Button(frameBg, text='Proceed', command=self.Proceed, takefocus=0)
-
button.grid(row=5, column=11, sticky=N+EW, rowspan=2, columnspan=1, padx=5)
-
-
# Fill in row 6
-
Label(frameBg, text='SP', bg=self.bg
-
).grid(row=6, column=0, sticky=E, columnspan=1, padx=5)
-
spvalue = StringVar(top)
-
spentry = Entry(frameBg, textvariable=spvalue, width=5)
-
spentry.grid(row=6, column=1, sticky=W, columnspan=1, padx=5)
-
l6value = StringVar(top)
-
l6entry = Entry(frameBg, textvariable=l6value, width=12)
-
l6entry.grid(row=6, column=2, sticky=W, columnspan=2, padx=5)
-
m6value = StringVar(top)
-
m6entry = Entry(frameBg, textvariable=m6value, width=5)
-
m6entry.grid(row=6, column=4, sticky=W, columnspan=1, padx=5)
-
-
# Make lists of entry widgets for <Return> event handling
-
# Register entry lists
-
self.reglist = [pcentry, yentry, xentry, aentry,
-
bentry, ccentry, spentry]
-
-
for entry in self.reglist:
-
entry.bind('<Return>', self.ChangeReg) # Change any register
-
entry.bind('<FocusOut>', self.ChangeReg)
-
entry.bind('<FocusIn>', self.ReFocus)
-
# SNIP #
-
-
def close(self, event=None):
-
self.running = False
-
self.root.after_cancel(self.PCID)
-
self.tty.close()
-
if self.flist:
-
self.flist.debugger = None
-
self.queue = None
-
self.top.destroy()
wm portocol may be the thing you are after. Here is a snippet from a very complex window that I wrote a long time ago, but it works well: -
class Debugger:
-
"""Dialog Window for BCD11IDE's debugger.
-
-
"""
-
def __init__(self, root, menu=None, flist=None, srecord=''):
-
self.root = root
-
self.top = top = ListedToplevel(root, menu=menu)
-
self.flist = flist
-
-
top.option_add("*Entry*font", "Courier 10", 20)
-
top.configure(borderwidth=5)
-
top.geometry("+%d+%d" % (root.winfo_rootx()+75,
-
root.winfo_rooty()+100))
-
if menu is None:
-
root.withdraw() # Here, we are running from __main__
-
self.bg = "SystemButtonFace"
-
## self.bg = "white"
-
self.baudrate = baudrate = 9600 # Needed by baudrate value widget
-
self.quetime = quetime = 20.0/baudrate + .010
-
-
self.CreateWidgets(top) # Fit widgets into self
-
top.resizable(height=FALSE, width=FALSE) # then lock the size
-
-
top.title('BCD11IDE Debugger')
-
top.protocol("WM_DELETE_WINDOW", self.close)
-
top.tkraise()
-
top.wm_deiconify()
-
-
self.s19value.set(srecord)
-
-
self.textView.focus_set()
-
top.focused_widget = self.textView
-
# SNIP #
-
-
def CreateWidgets(self, top):
-
self.gui_only = False
-
self.frameMain = frameMain = Frame(top, borderwidth=2, relief=SUNKEN)
-
frameMain.grid(row=0, column=0)
-
frameBg = Frame(frameMain) # Make the background frame
-
## frameBg = Frame(frameMain, bg=self.bg) # Make the background frame
-
frameBg.pack(expand=TRUE, fill=BOTH)
-
# Put labels across row zero
-
Label(frameBg, text = 'Registers', bg=self.bg
-
).grid(row=0, column=0, sticky=EW, columnspan=2, padx=5, pady=5)
-
Label(frameBg, text='Addr / Label', bg=self.bg
-
).grid(row=0, column=2, sticky=W, columnspan=2, padx=5, pady=5)
-
Label(frameBg, text='Value', bg=self.bg
-
).grid(row=0, column=4, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text='Address', bg=self.bg
-
).grid(row=0, column=5, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text=' Machine Code ', bg=self.bg
-
).grid(row=0, column=6, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text='Label Name ', bg=self.bg
-
).grid(row=0, column=7, sticky=W, columnspan=1, padx=5, pady=5)
-
Label(frameBg, text='Mnemonic and Operands', bg=self.bg
-
).grid(row=0, column=8, sticky=EW, columnspan=2, padx=5, pady=5)
-
Label(frameBg, text='Command', bg=self.bg
-
).grid(row=0, column=11, sticky=W, columnspan=1, padx=5, pady=5)
-
-
# Fill in row 1
-
Label(frameBg, text='PC', bg=self.bg
-
).grid(row=1, column=0, sticky=E, columnspan=1, padx=5)
-
pcvalue = StringVar(top)
-
pcentry = Entry(frameBg, textvariable=pcvalue, width=5)
-
pcentry.grid(row=1, column=1, sticky=W, columnspan=1, padx=5)
-
l1value = StringVar(top)
-
l1entry = Entry(frameBg, textvariable=l1value, width=12)
-
l1entry.grid(row=1, column=2, sticky=W, columnspan=2, padx=5)
-
m1value = StringVar(top)
-
m1entry = Entry(frameBg, textvariable=m1value, width=3)
-
m1entry.grid(row=1, column=4, sticky=W, columnspan=1, padx=5)
-
-
frameDisAsm = Frame(frameBg)
-
frameDisAsm.grid(row=1, column=5, sticky=N+SW, rowspan=6, columnspan=6, padx=5)
-
self.disAsmList = Listbox(frameDisAsm, width=60, height=8, takefocus=FALSE,
-
font=('Courier', 8), exportselection=FALSE)
-
self.dalScroll = Scrollbar(frameDisAsm, command=self.disAsmList.yview)
-
self.disAsmList.config(yscrollcommand=self.dalScroll.set)
-
self.disAsmList.pack(side=LEFT, expand=TRUE, fill=BOTH)
-
self.dalScroll.pack(side=LEFT, fill=Y)
-
self.disAsmList.bind('<Double-Button-1>', self.AsmListDoubleClick)
-
-
button = Button(frameBg, text='Call', command=self.Call, takefocus=0)
-
button.grid(row=1, column=11, sticky=N+EW, rowspan=2, columnspan=1, padx=5)
-
-
# Fill in row 2
-
Label(frameBg, text='Y', bg=self.bg
-
).grid(row=2, column=0, sticky=E, columnspan=1, padx=5)
-
yvalue = StringVar(top)
-
yentry = Entry(frameBg, textvariable=yvalue, width=5)
-
yentry.grid(row=2, column=1, sticky=W, columnspan=1, padx=5)
-
l2value = StringVar(top)
-
l2entry = Entry(frameBg, textvariable=l2value, width=12)
-
l2entry.grid(row=2, column=2, sticky=W, columnspan=2, padx=5)
-
m2value = StringVar(top)
-
m2entry = Entry(frameBg, textvariable=m2value, width=3)
-
m2entry.grid(row=2, column=4, sticky=W, columnspan=1, padx=5)
-
-
# Fill in row 3
-
Label(frameBg, text='X', bg=self.bg
-
).grid(row=3, column=0, sticky=E, columnspan=1, padx=5)
-
xvalue = StringVar(top)
-
xentry = Entry(frameBg, textvariable=xvalue, width=5)
-
xentry.grid(row=3, column=1, sticky=W, columnspan=1, padx=5)
-
l3value = StringVar(top)
-
l3entry = Entry(frameBg, textvariable=l3value, width=12)
-
l3entry.grid(row=3, column=2, sticky=W, columnspan=2, padx=5)
-
m3value = StringVar(top)
-
m3entry = Entry(frameBg, textvariable=m3value, width=3)
-
m3entry.grid(row=3, column=4, sticky=W, columnspan=1, padx=5)
-
button = Button(frameBg, text='Step', command=self.Step, takefocus=0)
-
button.grid(row=3, column=11, sticky=N+EW, rowspan=2, columnspan=1, padx=5)
-
-
# Fill in row 4
-
Label(frameBg, text='A:B', bg=self.bg
-
).grid(row=4, column=0, sticky=E, columnspan=1, padx=5)
-
-
frameDEntry = Frame(frameBg, relief=SUNKEN, borderwidth=2)
-
frameDEntry.grid(row=4, column=1, sticky=W, rowspan=1, columnspan=1, padx=5)
-
avalue = StringVar(top)
-
aentry = Entry(frameDEntry, textvariable=avalue, width=2, relief=FLAT, borderwidth=0)
-
aentry.pack(side=LEFT)
-
Label(frameDEntry, text=':', bg = "white", padx=0, pady=0).pack(side=LEFT, fill=Y)
-
bvalue = StringVar(top)
-
bentry = Entry(frameDEntry, textvariable=bvalue, width=2, relief=FLAT, borderwidth=0)
-
bentry.pack(side=LEFT)
-
-
l4value = StringVar(top)
-
l4entry = Entry(frameBg, textvariable=l4value, width=12)
-
l4entry.grid(row=4, column=2, sticky=W, columnspan=2, padx=5)
-
m4value = StringVar(top)
-
m4entry = Entry(frameBg, textvariable=m4value, width=5)
-
m4entry.grid(row=4, column=4, sticky=W, columnspan=1, padx=5)
-
-
# Fill in row 5
-
Label(frameBg, text='CC', bg=self.bg
-
).grid(row=5, column=0, sticky=E, columnspan=1, padx=5)
-
ccvalue = StringVar(top)
-
ccentry = Entry(frameBg, textvariable=ccvalue, width=3)
-
ccentry.grid(row=5, column=1, sticky=W, columnspan=1, padx=5)
-
l5value = StringVar(top)
-
self.l5entry = Entry(frameBg, textvariable=l5value, width=12)
-
self.l5entry.grid(row=5, column=2, sticky=W, columnspan=2, padx=5)
-
m5value = StringVar(top)
-
m5entry = Entry(frameBg, textvariable=m5value, width=5)
-
m5entry.grid(row=5, column=4, sticky=W, columnspan=1, padx=5)
-
button = Button(frameBg, text='Proceed', command=self.Proceed, takefocus=0)
-
button.grid(row=5, column=11, sticky=N+EW, rowspan=2, columnspan=1, padx=5)
-
-
# Fill in row 6
-
Label(frameBg, text='SP', bg=self.bg
-
).grid(row=6, column=0, sticky=E, columnspan=1, padx=5)
-
spvalue = StringVar(top)
-
spentry = Entry(frameBg, textvariable=spvalue, width=5)
-
spentry.grid(row=6, column=1, sticky=W, columnspan=1, padx=5)
-
l6value = StringVar(top)
-
l6entry = Entry(frameBg, textvariable=l6value, width=12)
-
l6entry.grid(row=6, column=2, sticky=W, columnspan=2, padx=5)
-
m6value = StringVar(top)
-
m6entry = Entry(frameBg, textvariable=m6value, width=5)
-
m6entry.grid(row=6, column=4, sticky=W, columnspan=1, padx=5)
-
-
# Make lists of entry widgets for <Return> event handling
-
# Register entry lists
-
self.reglist = [pcentry, yentry, xentry, aentry,
-
bentry, ccentry, spentry]
-
-
for entry in self.reglist:
-
entry.bind('<Return>', self.ChangeReg) # Change any register
-
entry.bind('<FocusOut>', self.ChangeReg)
-
entry.bind('<FocusIn>', self.ReFocus)
-
# SNIP #
-
-
def close(self, event=None):
-
self.running = False
-
self.root.after_cancel(self.PCID)
-
self.tty.close()
-
if self.flist:
-
self.flist.debugger = None
-
self.queue = None
-
self.top.destroy()
The ListedToplevel(root, menu=menu) came for IDLE lib.
I executed the above code.But I am not anble to see any dialog pop up.
what does the above code does?.
Thanks
PSB
In Tkinter:
I hope the close event method/callback ,will solve the problem.Since I am using the close button,no method has been written to destroy the window.
Could anybody suggest the piece of code for closing the window.
-PSB
While debugging the Dialog code,when we close the Dialog window the debug mode of the code has to come out.Even if I press Shift+F5,the debug mode is not stopped.I have to kill the PythonWin.exe
-PSB
I executed the above code.But I am not anble to see any dialog pop up.
what does the above code does?.
Thanks
PSB
That's why it's called a "snippet": for example only.
While debugging the Dialog code,when we close the Dialog window the debug mode of the code has to come out.Even if I press Shift+F5,the debug mode is not stopped.I have to kill the PythonWin.exe
-PSB
What I do is debug a dialog entirely on its own (just like a top level window), then call the WORKING dialog from the application. Like so:
create the dialog in a single module
at the bottom of the module add - if __name__ == "__main__":
-
root = Tk()
-
testDialog = TheDialogClassUnderTest(root)
-
testDialog.pack()
-
root.mainloop()
then you can import your working dialog into your application.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Thomas Nücker |
last post by:
Hi!
I am creating a dialog-box within my application, using tkinter. The
problem is the following: After the dialogbox is started, the main
application window comes again to top and the...
|
by: DoubleM |
last post by:
Hi,
I'm running Python2.3.3c1 on Mandrake 9.1
The following code is designed to bring up a window with a button labeled
"popup". Clicking on the popup buttons triggers a secondary window with...
|
by: Stewart Midwinter |
last post by:
I would like to link the contents of three OptionMenu lists. When I select an
item from the first list (call it continents), the contents of the 2nd list
(call it countries) would update. And in...
|
by: Stewart Midwinter |
last post by:
I've got a Tkinter app that draws three histograms. At this point I am
simulating real data by drawing rectangles whose size is defined by random
numbers; in the future there would be real data...
|
by: Irmen de Jong |
last post by:
Hi,
I'm having trouble with the code below.
It's just a regular Tk text widget in which you can type and
select text as expected, however the call to tkFileDialog.askopenfilename()
seems to screw...
|
by: phil |
last post by:
I posted the following yesterday and got no response
and did some testing simplifying the circumstances
and it appears that deepcopy fails when the object
to be copied contains a reference to a...
|
by: Michael Yanowitz |
last post by:
Hello:
Below I have included a stripped down version of the GUI I am working on.
It contains 2 dialog boxes - one main and one settings. It has the following
problems, probably all related, that...
|
by: dwelch91 |
last post by:
I'm trying unsuccessfully to do something in Tk that I though would be
easy. After Googling this all day, I think I need some help. I am
admittedly very novice with Tk (I started with it...
|
by: msunderwd |
last post by:
Having a problem with "compiling" a Tkinter/python program using
py2exe (and pyinstaller, for that matter)...
I have several dialogs that are derived from the tkSimpleDialog.Dialog
class. These...
|
by: nicstel |
last post by:
Hello.
My script run fine within python but not in my program(SDS/2 wich is a software like Autocad). The problem is I got an error when the time comes to read the line14 to 19. (Source code come...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |