Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 23/08/15 17:20, Laura Creighton wrote: Updating to Python 2.7.10 (default, Jul 1 2015, 10:54:53) and installing the tix-dev debian package, The seg fault is still there on Python 3.4 and 2.7.6 with tix-dev. It also happens regardless of the type of dialog I try (ExFileSelectDialog,

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 23/08/15 17:20, Laura Creighton wrote: Updating to Python 2.7.10 (default, Jul 1 2015, 10:54:53) and installing the tix-dev debian package, ... and I am not sure which of these fixed the problem, Presumably the 2.7.10 because adding tix-dev does nothing to fix it on 2.7.6... But 2.7.10

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Laura Creighton
Maybe a tkinter bug? https://bugs.python.org/issue11077 There was a mismatch between the tkinter tests and the tkinter shipped with python 3.4, which I reported here: https://bugs.python.org/issue24858 -- this is a debian packaging problem and maybe more things are wrong with it.

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Laura Creighton
One other thing -- if you read bugs.python.org about tix issues you will get the strong idea that as far as python-dev is concerned, tix is on its way out, and ttk ttk is the way to go, so if you want your better widget to be part of the new python distribution, making it a ttk widget seems a good

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 24/08/15 18:45, Laura Creighton wrote: # FIXME: It should inherit -superclass tixDialogShell # FIXME: It should inherit -superclass tixDialogShell # FIXME: It should inherit -superclass tixStdDialogShell Nope, these are the same FixMes that I saw. Its (still) a mystery... -- Alan G

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Chris Roy-Smith
On 23/08/15 23:52, Laura Creighton wrote: oooh. Seems that there is an undocumented feature we can use! Laura --- Forwarded Message Return-Path: tkinter-discuss-bounces+lac=openend...@python.org Date: Sun, 23 Aug 2015 12:40:02 +0200 From: Michael Lange klappn...@web.de To:

Re: [Tutor] Python help

2015-08-24 Thread William
This is in response to a much earlier posting for which I don't have the email [Tutor] Python help IDN3 iradn3777 at gmail.com Thu Aug 13 03:01:12 CEST 2015 Previous message (by thread): [Tutor] revisiting a puzzle about -3**2 vs (-3)**2 Next message (by thread): [Tutor] Python help Messages

Re: [Tutor] Using lambda

2015-08-24 Thread Cameron Simpson
On 24Aug2015 12:08, rakesh sharma rakeshsharm...@hotmail.com wrote: I am beginner in pythonI see the use of lambda has been for really simple ones as in the numerous examples over the net.Why cant we use lambda in another one like g = lambda x: (lambda y: y + 1) + 1 when I am able to do that

[Tutor] Using lambda

2015-08-24 Thread rakesh sharma
I am beginner in pythonI see the use of lambda has been for really simple ones as in the numerous examples over the net.Why cant we use lambda in another one like g = lambda x: (lambda y: y + 1) + 1when I am able to do that in two lines h = lambda x: x + 1 h(12)13y = lambda x: h(x) + 1 y(1)3

Re: [Tutor] Using lambda

2015-08-24 Thread Alan Gauld
On 24/08/15 07:38, rakesh sharma wrote: I am beginner in pythonI see the use of lambda has been for really simple ones as in the numerous examples over the net.Why cant we use lambda in another one like g = lambda x: (lambda y: y + 1) + 1when I am able to do that in two lines h = lambda x: x +

Re: [Tutor] [Tkinter-discuss] tkinter file dialog pattern matching (fwd)

2015-08-24 Thread Alan Gauld
On 24/08/15 19:23, Laura Creighton wrote: One other thing -- if you read bugs.python.org about tix issues you will get the strong idea that as far as python-dev is concerned, tix is on its way out, and ttk ttk is the way to go, so if you want your better widget to be part of the new python

[Tutor] Tkinter

2015-08-24 Thread The Dildoge Gamer
First off, i dunno if im doing this right. Anyway, in tkinter, im making a program to store statistics, attributes, ect, and whenever you press a button labled Add Attribute it created a new text box, you have an unlimited number of text boxes to use. The problem is; they all have the same name,

Re: [Tutor] Tkinter

2015-08-24 Thread Alan Gauld
On 24/08/15 21:31, The Dildoge Gamer wrote: unlimited number of text boxes to use. The problem is; they all have the same name, so the text you type in one of them is copied to all of the others. My question: How do i make a value go up by one when a button is clicked, and how do i treat