Re: Feasibility of console based (non-Gui) Tkinter app which can accept keypresses?

2018-07-11 Thread Terry Reedy
On 7/11/2018 10:09 AM, jkn wrote: Hi All This is more of a Tkinter question rather than a python one, I think, but anyway... I have a Python simulator program with a Model-View_Controller architecture. I have written the View part using Tkinter in the first instance; later I plan to use Qt.

Re: Feasibility of console based (non-Gui) Tkinter app which can accept keypresses?

2018-07-11 Thread Rodrigo Bistolfi
You may want to check Urwid instead. 2018-07-11 16:22 GMT-03:00 Jim Lee : > On 07/11/18 07:09, jkn wrote: > >> Hi All >> This is more of a Tkinter question rather than a python one, I >> think, but >> anyway... >> >> I have a Python simulator program with a Model-View_Controller >> architect

Re: Feasibility of console based (non-Gui) Tkinter app which can accept keypresses?

2018-07-11 Thread Jim Lee
On 07/11/18 07:09, jkn wrote: Hi All This is more of a Tkinter question rather than a python one, I think, but anyway... I have a Python simulator program with a Model-View_Controller architecture. I have written the View part using Tkinter in the first instance; later I plan to use Qt. Ho

Re: Feasibility of console based (non-Gui) Tkinter app which can accept keypresses?

2018-07-11 Thread Chris Angelico
On Thu, Jul 12, 2018 at 12:09 AM, jkn wrote: > Hi All > This is more of a Tkinter question rather than a python one, I think, but > anyway... > > I have a Python simulator program with a Model-View_Controller architecture. I > have written the View part using Tkinter in the first instance; lat

Re: Feasibility of console based (non-Gui) Tkinter app which can accept keypresses?

2018-07-11 Thread Michael Torrie
On 07/11/2018 08:09 AM, jkn wrote: > So I am looking for confirmation of this, and/or whether there is any way of > running a Tkinter application in 'console' mode, running a main loop and> > both outputting data and accepting, and acting on, key presses. So far as I know, no this isn't possible,

Feasibility of console based (non-Gui) Tkinter app which can accept keypresses?

2018-07-11 Thread jkn
Hi All This is more of a Tkinter question rather than a python one, I think, but anyway... I have a Python simulator program with a Model-View_Controller architecture. I have written the View part using Tkinter in the first instance; later I plan to use Qt. However I also want to be able to o

Re: indexed assignment in list

2018-07-11 Thread Abdur-Rahmaan Janhangeer
On Wed, Jul 11, 2018 at 10:55 AM Peter Otten <__pete...@web.de> wrote: As to why you'd expect that one I've no idea my mistake -- Abdur-Rahmaan Janhangeer https://github.com/abdur-rahmaanj Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Re: indexed assignment in list

2018-07-11 Thread Peter Otten
Peter Otten wrote: > a = [[1]] * 7 > > creates a list containing seven references to the same inner list [1]. I. e. it is roughly equivalent to b = [1] a = [b, b, b, b, b, b, b] -- https://mail.python.org/mailman/listinfo/python-list