[Tutor] how to open a file using os.system

2008-01-09 Thread brindly sujith
hi

i am developing a GUI application using TKINTER

i want to open a file from the askopenfile(which is a tkFileDialog) using
OS.SYSTEM.

i have already created the file open dilog using
tkFileDialog.askopenfile(parent=root,mode='rb',title='choose a file')
Now i want to open a file from this dialog using OS.SYSTEM
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to run a timer in window using TKINTER

2008-01-10 Thread brindly sujith
i want to run a timer in a window

plz guide me how to do this

after some 5 seconds i want to close the  same window automatically

send me the Tkinter code for this
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to remove window borders

2008-01-11 Thread brindly sujith
hi

i am developing a  GUI application using TKINTER

in my applicaton i dont want the window title bar(including MAX,MIN and
CLOSE)

how to do this

plz send me the code for this
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to disable MIN,MAX and CLOSE options using tkinter

2008-01-12 Thread brindly sujith
hi

in my application i dont want MIN,MAX,CLOSE options in window
i need to disable these options
how to do this in tkinter
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to change the values of keyboard keys in TKINTER

2008-01-14 Thread brindly sujith
hi

i want to know how to change the values of keyboard keys(for example:
I want to set alt+f4 to enter)

do we have any modules in tkinter for doing this...

plz tell me how we can do this
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to bind a event to a application in tkinter

2008-01-19 Thread brindly sujith
hi

how to bind a event to a application

consider i m opening  openoffice using

os.system("openoffice")...

i want to bind a event on openoffice...
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to make python program as executable

2008-01-29 Thread brindly sujith
hi

i am developing a  GUI application in python(tkinter)

i want to know how to make the python program as a application ie i want to
make it executable

please guide me
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to enable overrideredirect

2008-01-30 Thread brindly sujith
from Tkinter import *
import tkMessageBox
import tkFileDialog,os
def quit():
if tkMessageBox.askokcancel("Quit","DO u really want to quit"):
root.destroy()

def fiopen():
file1 = tkFileDialog.askopenfile(parent=root,mode='rb',title='Choose a 
file')
os.system("openoffice %s"%file1.name)

root=Tk()
label=Label(root,text="Welcome to PC-FREE PROJECTOR")
label.pack()
button=Button(root,text="select",command=fiopen)
button.pack()
button1=Button(root,text="Exit",command=quit)
button1.pack()
root.overrideredirect(True)
root.geometry('%dx%d+%d+%d' % (root.winfo_screenwidth(),
   root.winfo_screenheight(),
   0, 0))
root.lift()
root.mainloop()


the above program is my application

please execute this program...

while executing this program

initially a window will openafter that the buttons 'select'
and 'exit' is not working...

i checked out by disabling root.overrideredirect(True) line in
the program...then its working

what is the problem here...i want this program to work perfectly

plz do reply me

thanx
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to use freeze for making executable python file in linux

2008-01-30 Thread brindly sujith
can i use freeze to make my python program in to executable in linux

if yes...plz tell me how to use freeze

whether i need to install something or its default in python
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to display terminal messages in dialog window using tkinter

2008-02-21 Thread brindly sujith
hi

i m developing a application using tkinter

i want the messages that we get in the terminal to be displayed in the
tkinter dialog box

do we have any option for that

thank you
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] how to search a directory from a Tkinter program

2008-03-19 Thread brindly sujith
hi

i am developing an application in tkinter

i want to know whether we have any option to search a directory from tkinter
program

please answer me

thank you
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor