Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 254 results for
tkmessagebox
- Page 1
Re: TkMessageBox doesn't show up
Programming
Software Development
14 Years Ago
by woooee
… =text): which would take care of both situations. [CODE]import
tkMessageBox
def __invitation__( address, name): print 'Invitation received' text = ('Player "… an invitation \n\nDo you accept it?') print text result =
tkMessageBox
.askyesno(title='Invitation', message =text) print("result =", result…
tkMessageBox does not appear on application frame
Programming
Software Development
9 Years Ago
by rbyrd
…OSX 10.6.8. Thanks. from Tkinter import * import
tkMessageBox
class App: def __init__(self): self.root = Tk() …background = "#faf0e6") self.cnvs.pack(fill=X)
tkMessageBox
.showwarning('TEST', 'This is a test', parent =self.frame) …
Re: TkMessageBox doesn't show up
Programming
Software Development
14 Years Ago
by txwooley
… simply use a variable as a bool. Try: [CODE] result =
tkMessageBox
.askyesno(title='Invitation', message =text) if result: print 'Invitation accepted… itself reversed. I had to change it to: [CODE] result =
tkMessageBox
.askyesno(title='Invitation', message =text) if not result: print 'Invitation…
TkMessageBox doesn't show up
Programming
Software Development
14 Years Ago
by Fridericus
Hello everyone, I have a problem with
TkMessageBox
on Windows: My program receives a message from a server …
Re: TkMessageBox doesn't show up
Programming
Software Development
14 Years Ago
by Fridericus
… an invitation \n\nDo you accept it?') print text if
tkMessageBox
.askyesno(title='Invitation', message =text) == 1: print 'Invitation accepted.' # ... [/CODE…
bug in tkMessageBox
Programming
Software Development
14 Years Ago
by no_spam_for_dan
… as follows: >>> import
tkMessageBox
>>>
tkMessageBox
.askyesno() #user clicks "yes"…"cancel" '' >>> res=
tkMessageBox
._show(_type="yesno") #user clicks "…WinXP continues to return a string from
tkMessageBox
._show The
tkMessageBox
.askyesno code executes the following, which…
Re: bug in tkMessageBox
Programming
Software Development
14 Years Ago
by harishankar
… as follows: >>> import
tkMessageBox
>>>
tkMessageBox
.askyesno() #user clicks "yes"…"cancel" '' >>> res=
tkMessageBox
._show(_type="yesno") #user clicks "…WinXP continues to return a string from
tkMessageBox
._show The
tkMessageBox
.askyesno code executes the following, which…
Tkinter scroll bar
Programming
Software Development
12 Years Ago
by natehome
… yes/no/cancel message box import
tkMessageBox
s =
tkMessageBox
.Message( title=title, message=message, icon=
tkMessageBox
.QUESTION, type=
tkMessageBox
.YESNOCANCEL, **options).show() # depending on…
I need some help with Python error
Programming
Software Development
14 Years Ago
by Guylolk
…usr/bin/env python from Tkinter import * import
tkMessageBox
tkMessageBox
.showinfo("Text","Hello. Tell me …> 0: if a % 2 == 0:
tkMessageBox
.showinfo("%s is an even number" % …= a * -1 if a % 2 == 0:
tkMessageBox
.showinfo("%s is an even number" % a)…
Tkinter Game board problem
Programming
Software Development
14 Years Ago
by flip121
…(): DieP1=rollDice(1,2)[0] global position1 position1=position1+DieP1
tkMessageBox
.showinfo( "Order Die for first user",DieP1 )…(): DieP2=rollDice(1,6)[0] global position2 position2=position2+DieP2
tkMessageBox
.showinfo( "Order Die for second user",DieP2 ) …
Tkinter Table User Import Interface
Programming
Software Development
11 Years Ago
by smile1
…tkFileDialog import askopenfile , asksaveasfile # Open dialog box import
tkMessageBox
import ttk class Window(): def __init__(self): "… outputs etc. savedfile.close() #if savedfile == True:
tkMessageBox
.showinfo("Save message", "Save successful")…
Combining two python programs together...HELP!!!
Programming
Software Development
15 Years Ago
by MikeyFTW
… it like this...[/U][/B] [ICODE]from Tkinter import * import
tkMessageBox
import random def ask(): global num1 num1 = random.randint(1… = entry1.get() # if empty give message if len(mainAnswer) == 0:
tkMessageBox
.showwarning(message='Need to enter some numbers!') return if int…
Math game help!!! URGENT PLEASE!
Programming
Software Development
15 Years Ago
by MikeyFTW
… help me! Really urgent! Please! [ICODE]from Tkinter import * import
tkMessageBox
import random def ask(): global num1 num1 = random.randint(1… = entry1.get() # if empty give message if len(mainAnswer) == 0:
tkMessageBox
.showwarning(message='Need to enter some numbers!') return if int…
tkinter time filler, text box? progress bar?
Programming
Software Development
13 Years Ago
by goodwin912
…interested. [CODE]import Image, os, tkFileDialog,
tkMessageBox
def watermark(im, mark, mark2): if im… Folder") p = tkFileDialog.askdirectory()
tkMessageBox
.showinfo("First Logo", "Select…tkFileDialog.askopenfile() mark = Image.open(b)
tkMessageBox
.showinfo("Second Logo", "Select …
Re: tkinter time filler, text box? progress bar?
Programming
Software Development
13 Years Ago
by goodwin912
… out the disturbing main window toplevel.withdraw()
tkMessageBox
.showinfo("Select Folder", "Specify…p = tkFileDialog.askdirectory() os.chdir(p)
tkMessageBox
.showinfo("First Logo", "… tkFileDialog.askopenfile() mark = Image.open(b)
tkMessageBox
.showinfo("Second Logo", "Select …
Re: tkinter time filler, text box? progress bar?
Programming
Software Development
13 Years Ago
by TrustyTony
…3001_07_75_prev.jpg') panel = tk.Label(frame,image=imagedata) panel.pack()
tkMessageBox
.showinfo("Select Folder", "Specify Image Folder"…") a = tkFileDialog.askopenfilename() ## get filename mark = Image.open(a)
tkMessageBox
.showinfo("Second Logo", "Select Second .png logo…
Tkinter help (labels)
Programming
Software Development
13 Years Ago
by laroca
….is_alive(): return if not self.selenium_server.is_server_up():
tkMessageBox
.showerror('Error', 'Failed to start Selenium server…start it manually.') return if not self.case_number:
tkMessageBox
.showerror('Error', 'Case number must be provided.') …
Tkinter Help
Programming
Software Development
12 Years Ago
by sc0tty
…to work correctly. [CODE]from Tkinter import* import time import
tkMessageBox
import random def Questions(): number1 = random.randrange(1,25,1…count_flag = False print answer if entryWidget.get().strip() == "":
tkMessageBox
.showerror("Tkinter Entry Widget", "Please enter a…
Re: Tkinter Game board problem
Programming
Software Development
14 Years Ago
by jlm699
…: [code=python] from Tkinter import * import Tkinter import random import
tkMessageBox
##Player positions positions = [0,0,0,0] def rollDice(num…): Die=rollDice(1,6)[0] global positions positions[player]+=Die
tkMessageBox
.showinfo( "Order Die for user %s" % player, Die…
Re: tkinter time filler, text box? progress bar?
Programming
Software Development
13 Years Ago
by TrustyTony
…out the disturbing main window toplevel.withdraw()
tkMessageBox
.showinfo("Select Folder", "Specify… = tkFileDialog.askdirectory() os.chdir(p)
tkMessageBox
.showinfo("First Logo", "…tkFileDialog.askopenfile() mark = Image.open(b)
tkMessageBox
.showinfo("Second Logo", "Select …
Re: Tkinter Scale
Programming
Software Development
13 Years Ago
by TrustyTony
1) Because they are different modules: [CODE]>>> import Tkinter >>> Tkinter <module 'Tkinter' from 'D:\Python27\lib\lib-tk\Tkinter.pyc'> >>> import
tkMessageBox
>>>
tkMessageBox
<module '
tkMessageBox
' from 'D:\Python27\lib\lib-tk\
tkMessageBox
.pyc'>[/CODE] Second question I don't know to answer.
how to opening a new window on clicking menu item?
Programming
Software Development
18 Years Ago
by katharnakh
… tell where im wrong. :?: :-| [code]from Tkinter import * import
tkMessageBox
import tkSimpleDialog class form(tkSimpleDialog.Dialog): def __init__(self,root…quot;,menu=self.formmenu) self.parent.focus_force() def one(self):
tkMessageBox
.showinfo("one","this first.......") self.top…
GUI tkinter help (Image button and background)
Programming
Software Development
15 Years Ago
by tkpython
…request).read() print feeddata def about(self):
tkMessageBox
.showinfo("Jedi",''' Jedi ++++++++++++++++++++++++++++++++++++++++ Jedi…(self): root.destroy() def history(self):
tkMessageBox
.showinfo("Pyge Visitor",''' No History …
Change window title in multithreaded code
Programming
Software Development
15 Years Ago
by Agni
…Disconnect',command=self.closeConnection) self.startRecvThread() except:
tkMessageBox
.showinfo(message='Server down hai bidu... din …outMsg) self.entryWidget.delete(0,END) except:
tkMessageBox
.showinfo(message='kuch gadbad hai.. baad main try…
Tkinter problems
Programming
Software Development
15 Years Ago
by EAnder
…greatly apreciated. [code]from Tkinter import * import
tkMessageBox
import EasyDialogs #a windows port of the mac …sys def Exit(): sys.exit() def Help():
tkMessageBox
.showinfo("Help","Created by Erik… Anderson") def ask_save(): response =
tkMessageBox
.askyesno("Save?", "Would you like…
validation logic
Programming
Software Development
14 Years Ago
by bhanu1225
…if (userid == "" and password == ""):
tkMessageBox
.showinfo("Text", "invalid userid " ) guiFrame.destroy…quot;, "successfully userid and password created") else:
tkMessageBox
.showinfo("Text", "invalid password " )…
Tkinter Scale
Programming
Software Development
13 Years Ago
by lewashby
[CODE]from Tkinter import * import
tkMessageBox
import pygame.mixer # create GUI window app = Tk() app.title(&… "from Tkinter import * & import
tkMessageBox
". Why would I need to import
tkMessageBox
if I've already imported everything in…
Cryptography Fun
Programming
Software Development
18 Years Ago
by G-Do
… of the Vigenere ciphering program # Uses Tkinter import sys, string,
tkMessageBox
from Tkinter import * # -- The application class class Vigenere: # Initialize … = error+"Alphakey, " error = error[0:len(error)-2]
tkMessageBox
.showerror(title="Error", message=error) # -- Module functions # -- …
transparent image
Programming
Software Development
16 Years Ago
by nish88
… transparent.thanks in advance import Tkinter from Tkconstants import * import
tkMessageBox
def window(tk): global photo #### SIC! frame=Tkinter.Frame(tk…',command=quitbutton).pack(side =LEFT, padx=20) def quitbutton(): if
tkMessageBox
.askyesno("Quit", "Do you really wish to…
database connection check with python
Programming
Software Development
14 Years Ago
by rajasekhar1242
…= MySQLdb.connect(host='10.0.2.2') if(cxn != 0):
tkMessageBox
.showinfo("Text", "you can update ur local… database to server") else:
tkMessageBox
.showinfo("Text", "there is no connection please…
1
2
3
5
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC