Re: [Tutor] is this doable

2019-06-01 Thread Cameron Simpson
On 01Jun2019 10:02, nathan tech wrote: Now it has been mentioned, I do recall, on linux, briefly playing with psutil to retrieve memory values for a few tasks I keep running on my server. To that end, I think I now know roughly what to do. Something like this: import psutil import os

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.

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

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Mike Barnett
TL;DR There's a run-time debugger out, "imwatchingyou" that is being developed daily, fast paced, that enables debugging without stopped your code or using an IDE. I'm unsure if I'm super late to the party of if I understand the "problem" / request properly. I apologize if I'm off-base. Do

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Mike Barnett
Oh, do you need WxPython for all your GUI type work since it can be used with screen readers? A GUI like you're describing in PySimpleGUI could be 15 or 20 lines of code in total depending on the number of these fields you have. Do you happen to have a sketch of this screen? Even pencil and

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread Sean Murphy
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 extracted from a list of strength. Each element in the list are unique. I want to modify the string and then

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

Re: [Tutor] is this doable

2019-06-01 Thread nathan tech
Hello, Thank you for your responses. I am indeed developing for windows at the moment, with an eye casually glancing in the MAC direction as a possibility for the future that I shall think about. I'm sorry I couldn't explain better, but being only familiar with the concept in my head from

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread mhysnm1964
As I thought. Easygui is not accessible at all with a screen reader due to the underlying graphic library. Win32 could work if I could load it. Since then I could use standard windows objects. Note, I didn't see anything in the quick scan I did ion the API. Very frustrating and disappointing.

Re: [Tutor] Interactive editing of variables.

2019-06-01 Thread mhysnm1964
Allen, 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. C:\Users\mhysn>pip install Tkinter graphic 948 Collecting Tkinter ERROR: Could

Re: [Tutor] is this doable

2019-06-01 Thread Alan Gauld via Tutor
On 01/06/2019 00:13, Alan Gauld via Tutor wrote: > Is the language C/C++? If so you may know the OS API calls needed > and you could access those directly from Python using ctypes > That might make your job more familiar and easier. I meant to add a nod to Mark Hammond's win32 package too.

Re: [Tutor] Interactive editing of variables.

2019-06-01 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-06-01 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

[Tutor] Interactive editing of variables.

2019-06-01 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