Re: [Tutor] Interactive editing of variables.

2019-06-04 Thread Mats Wichmann
On 6/4/19 2:49 AM, Steven D'Aprano wrote: > The bad news is that this only works on Linux and other Unix systems > with readline installed (which nearly all of them do). It won't work > under Windows. > > But if you install the third-party library pyreadline, you *may* be able > to use that in

Re: [Tutor] Interactive editing of variables.

2019-06-04 Thread Steven D'Aprano
Hi Sean, On Sat, Jun 01, 2019 at 12:53:00PM +1000, mhysnm1...@gmail.com wrote: > I have had a look and cannot find an example where I can interactively edit > a content of a variable at the command line. I do not want to use GUI at > all. As this is a simple program only requiring CLI. I have no p

Re: [Tutor] Interactive editing of variables.

2019-06-02 Thread Alan Gauld via Tutor
On 02/06/2019 01:10, mhysnm1...@gmail.com wrote: > What I do not know, how this applies to open source. If there is no > commercial transaction. Then this is the area I am unsure if any of the laws > I am indirectly referring to impact. Caveat: I am not a lawyer... I know it has a big impact on

Re: [Tutor] Interactive editing of variables.

2019-06-02 Thread mhysnm1964
AM To: tutor@python.org Subject: Re: [Tutor] Interactive editing of variables. >> The issue I have with a lot of GUI programs built for Python they >> generally fail in the accessibility department for a screen reader. > > I can't help there I have nearly zero experience of

Re: [Tutor] Interactive editing of variables.

2019-06-02 Thread mhysnm1964
: Re: [Tutor] Interactive editing of variables. On 01/06/2019 09:52, mhysnm1...@gmail.com wrote: > the underlying graphic library. Win32 could work if I could load it. > Since then I could use standard windows objects. If you are running windows then you can access the Win32 DLLs via ctypes

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Mats Wichmann
>> The issue I have with a lot of GUI programs built for Python they generally >> fail in the accessibility department for a screen reader. > > I can't help there I have nearly zero experience of using accessibility > tools. But I'd expect any GUI toolkit to work with the standard > OS tools. A

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Alan Gauld via Tutor
On 01/06/2019 09:52, mhysnm1...@gmail.com wrote: > the underlying graphic library. Win32 could work if I could load it. Since > then I could use standard windows objects. If you are running windows then you can access the Win32 DLLs via ctypes. The win32 package should also be easily installable

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Mike Barnett
Message- From: mhysnm1...@gmail.com Sent: Saturday, June 1, 2019 4:53 AM To: 'Alan Gauld' ; tutor@python.org Subject: Re: [Tutor] Interactive editing of variables. As I thought. Easygui is not accessible at all with a screen reader due to the underlying graphic library. Win32 could w

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Mike Barnett
8:21 AM To: Mike Barnett Cc: Alan Gauld ; tutor@python.org Subject: Re: [Tutor] Interactive editing of variables. Mike, thanks for this debug tool. I might have a look at it. No that’s not the goal I’m after. I want to have a basic l input line which is already populated with a value. The value is

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Sean Murphy
pleGUI will have this > watch/debug capability in it. > > > > > @mike > > -Original Message- > From: mhysnm1...@gmail.com > Sent: Saturday, June 1, 2019 4:53 AM > To: 'Alan Gauld' ; tutor@python.org > Subject: Re: [Tutor] Interactive edit

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Alan Gauld via Tutor
On 01/06/2019 08:55, mhysnm1...@gmail.com wrote: > As I am using Python 3.7 under windows. I have tried to use the win32gui, > and Tkinter. Both generate the below errors and I cannot identify a module > release to support the version of Python I am using. Tkinter should be included in the standa

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread mhysnm1964
nting. -Original Message- From: Tutor On Behalf Of Alan Gauld via Tutor Sent: Saturday, 1 June 2019 4:50 PM To: tutor@python.org Subject: Re: [Tutor] Interactive editing of variables. On 01/06/2019 03:53, mhysnm1...@gmail.com wrote: > I have no clue on how to achieve what I want to do

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread mhysnm1964
On Behalf Of Alan Gauld via Tutor Sent: Saturday, 1 June 2019 4:50 PM To: tutor@python.org Subject: Re: [Tutor] Interactive editing of variables. On 01/06/2019 03:53, mhysnm1...@gmail.com wrote: > I have no clue on how to achieve what I want to do and the code I have > creates an hash. As sh

Re: [Tutor] Interactive editing of variables.

2019-05-31 Thread Alan Gauld via Tutor
On 01/06/2019 03:53, mhysnm1...@gmail.com wrote: > I have no clue on how to achieve what I want to do and the code I have > creates an hash. As shown below: Thats because what you want is not a standard feature of CLI apps. You will need to do one of the following(in order of easiness): 1) Use a

Re: [Tutor] Interactive editing of variables.

2019-05-31 Thread Cameron Simpson
On 01Jun2019 12:53, Sean Murphy wrote: Python 3.7, windows 10. I have no clue on how to achieve what I want to do and the code I have creates an hash. As shown below: for row in description: [... get some text and present it for editing ...] I have had a look and cannot find an example where

[Tutor] Interactive editing of variables.

2019-05-31 Thread mhysnm1964
Hello all, Python 3.7, windows 10. I have no clue on how to achieve what I want to do and the code I have creates an hash. As shown below: for row in description: text = description_rejex(row) # applies a regular expression test function to remove text. Returns a list. if text