Re: Simple Tkinter problem

2006-11-07 Thread jim-on-linux
On Tuesday 07 November 2006 10:38, jim-on-linux wrote: Greg, Run the following code to see how pack_forget() or grid_forget() works, it makes previous widgets disappear but not go away. If you call grid() or pack() again after using grid_forget() the widget returns. root = Tk() class

Re: how do I pass values between classes?

2006-11-06 Thread jim-on-linux
= Kvariable() x.setVariable(James_01) y.setVariable(Kath_01) x.showVariable() y.showVariable() x.setVariable('3.14159') y.setVariable(python.org) x.showVariable() y.showVariable() jim-on-linux http://www.inqvista.com On Monday 06 November 2006 02:00, kath wrote: hi, Larry

Re: disabledforeground or similar for Entry (in Tkinter)

2006-11-05 Thread jim-on-linux
) self.test2.grid(row=0, column=0) if __name__== '__main__' : Ktest() mainloop() jim-on-linux http://www.inqvista.com On Saturday 04 November 2006 11:03, Dustan wrote: Back in this post, I attempted to make a label look like a button: http://groups.google.com/group/comp.lang.pyth

Re: Awesome Python Information

2006-11-05 Thread jim-on-linux
Thanks for the heads up. I spend enough time with the email without having to chase gosts. jim-on-linux http://www.inqvista.com On Sunday 05 November 2006 16:39, Paul McGuire wrote: Brandon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] groups.com... Check out

Re: disabledforeground or similar for Entry (in Tkinter)

2006-11-04 Thread jim-on-linux
tried the state option ? state = 'disabled' It works for Text, Entry, and Button. Once disabled you won't be able to make changes until state= 'normal' jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: disabledforeground or similar for Entry (in Tkinter)

2006-11-04 Thread jim-on-linux
= 15, height = 10) test2.grid(row=0, column=0) mainloop() jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list

Re: SE 2.3 temporarily unavailable. Cheese shop defeats upload with erratic behavior. Urgently requesting help.

2006-11-03 Thread jim-on-linux
On Thursday 02 November 2006 14:59, Frederic Rentsch wrote: jim-on-linux wrote: Frederic, I've been trying to get back into my package in the Cheese Shop for over a year. The phone company changed my e:mail address and to make a long and frustrating story short I can't get back

Re: SE 2.3 temporarily unavailable. Cheese shop defeats upload with erratic behavior. Urgently requesting help.

2006-11-03 Thread jim-on-linux
On Friday 03 November 2006 08:21, Steve Holden wrote: Frederic Rentsch wrote: jim-on-linux wrote: Frederic, I've been trying to get back into my package in the Cheese Shop for over a year. The phone company changed my e:mail address and to make a long and frustrating story short I

Re: SE 2.3 temporarily unavailable. Cheese shop defeats upload with erratic behavior. Urgently requesting help.

2006-11-02 Thread jim-on-linux
to consider if it is worth it. At least you have the name of your program listed. I wish I could be more helpfull. I'll watch the responses you get from others. Good Luck, jim-on-linux http://www.inqvista.com On Thursday 02 November 2006 09:00, you wrote: Some time ago I had managed

Re: best way to check if a file exists?

2006-10-31 Thread jim-on-linux
creates a new file of that name. Thanks. How about something like one of these; if os.path.isfile(vfileName) not True : male file or if os.path.isfile (os.path.join(os.getcwd(), vFileName) )==True : do something jim-on-linux http://www.inqvista.com -- http

Re: Computer locks up when running valid stand alone Tkinter file.

2006-10-29 Thread jim-on-linux
lockup). Give Yview a parent, problem solved. Changed pack to grid anyway. jim-on-linux http://www.inqvista.com On Wednesday 25 October 2006 23:05, you wrote: But, when I call it from another module it locks methinks this other module has the answer. jim-on-linux wrote: py help

Re: lossless transformation of jpeg images

2006-10-29 Thread jim-on-linux
Group. Why not use Tkinter for jpeg ?? jim-on-linux http://www.inqvista.com The jpegtran utility is written in C and is very efficient, fast and robust. It can rotate, flip, transpose and transverse jpeg images in a lossless way, see www.ijg.org for more details

Re: looping through two list simultenously

2006-10-29 Thread jim-on-linux
. jim-on-linux http://www.inqvista.com Here is the code i am using f1 = os.popen('ls chatlog*.out') data1=f1.readlines() f1.close() data1=[x.strip() for x in data1] f1 = os.popen('ls chatlog*.txt') data=f1.readlines() f1.close() for eachline in data1 and line in data: filename

Re: How to Split Chinese Character with backslash representation?

2006-10-29 Thread jim-on-linux
On Friday 27 October 2006 17:21, jim-on-linux wrote: On Thursday 26 October 2006 23:43, you wrote: Hi all, I was trying to split a string that represent chinese characters below: str = '\xc5\xeb\xc7\xd5\xbc' print str2, ??? fields2 = split(r'\\',str) print fields2

Re: How to Split Chinese Character with backslash representation?

2006-10-27 Thread jim-on-linux
('\\xc5\\xeb\\xc7\\xd5\\xbc', '\\') print x, '## x on line 10 == \n\n\n' ### '\n' won't show on printed line print x, '## x on line 15 == \\n' ### '\n' will show on printed line for n in x: n= '\\'+n print n jim-on-linux http://www.inqvista.com ['\xc5','\xeb','\xc7','\xd5','\xbc

Re: Slightly OT: Is pyhelp.cgi documentation search broken?

2006-10-26 Thread jim-on-linux
On Thursday 26 October 2006 04:01, you wrote: Hi! For a number of days I haven't been able to search the online python docs at: http://starship.python.net/crew/theller/pyhelp. cgi Joel, Try here, [EMAIL PROTECTED] jim-on-linux http://www.inqvista.com that is the search the docs

Computer locks up when running valid stand alone Tkinter file.

2006-10-25 Thread jim-on-linux
to the canvass. That's all it does. Replace the img9.jpg file with one of your own, put the image in the current working dir., and run. If you think you can help, I would appreciate it. jim-on-linux #!/usr/bin/env python

<    1   2