Re: [Tutor] how to change the command "string" on a tkinter Button?

2018-07-01 Thread Chris Roy-Smith
On 01/07/18 02:17, Alan Gauld via Tutor wrote: On 30/06/18 03:55, Chris Roy-Smith wrote: I am trying to change the command of a tkinter Button in my program. Eventually I want to be able to do this to many buttons. Since I'm not 100% sure if you mean the command or the label or both here is a

Re: [Tutor] how to change the command "string" on a tkinter Button?

2018-07-01 Thread Steven D'Aprano
On Sun, Jul 01, 2018 at 03:32:59PM +1000, Chris Roy-Smith wrote: > Python is the first language I have > attempted since macro assembler for CP/M. Python seems to be another world. Yes indeed, high-level languages like Python *are* a radically different programming experience than low-level lan

Re: [Tutor] how to change the command "string" on a tkinter Button?

2018-07-01 Thread Chris Roy-Smith
On 01/07/18 02:17, Alan Gauld via Tutor wrote: On 30/06/18 03:55, Chris Roy-Smith wrote: I am trying to change the command of a tkinter Button in my program. Eventually I want to be able to do this to many buttons. Since I'm not 100% sure if you mean the command or the label or both here is a

Re: [Tutor] RAD GUI Development (like Visual Studio/VBA)

2018-07-01 Thread Shall, Sydney
On 30/06/2018 19:21, Alan Gauld via Tutor wrote: > On 30/06/18 11:50, Shall, Sydney wrote: > >>> And if you want to try using Jython or MacPython(?) >>> you can use the native GUI builders for those: >>> - Eclipse/Netbeans (Java) >>> - XDeveloper (MacOS) - I tried this once and it kind of works...

Re: [Tutor] how to change the command "string" on a tkinter Button?

2018-07-01 Thread Chris Roy-Smith
On 01/07/18 19:19, Steven D'Aprano wrote: On Sun, Jul 01, 2018 at 03:32:59PM +1000, Chris Roy-Smith wrote: Python is the first language I have attempted since macro assembler for CP/M. Python seems to be another world. Yes indeed, high-level languages like Python *are* a radically different pr

Re: [Tutor] how to change the command "string" on a tkinter Button?

2018-07-01 Thread Alan Gauld via Tutor
On 01/07/18 09:15, Chris Roy-Smith wrote: >> def cmd2(): print('This is number 2') > I was hoping eventually to generate the command form the results of a > database query, not knowing  the exact command until run time. Perhaps > what I was trying to achieve is too close to self modifying code,

Re: [Tutor] how to change the command "string" on a tkinter Button?

2018-07-01 Thread Alan Gauld via Tutor
On 01/07/18 11:33, Chris Roy-Smith wrote: >> Even better would be to learn a form of VCS (version control system) > I don't know anything about these tools, VCS store versions of a file. You can check for differences between versions, restore previous versions, even merge different versions. Mo