Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Windows compatibility
Post: RE: Windows compatibility

Thanks for your help guys I'll keep trying! Astrikor
Astrikor General Coding Help 19 5,480 Aug-10-2021, 11:27 AM
    Thread: Windows compatibility
Post: RE: Windows compatibility

Going back to my original query, the program hangs with Red "Close" button in the Tkinter window. I am told that this is not caused by Windows, but has to be a coding issue. However, without any kno...
Astrikor General Coding Help 19 5,480 Aug-10-2021, 10:55 AM
    Thread: Windows compatibility
Post: RE: Windows compatibility

I used the Division-by-zero as an example to test the logger. I expected that by setting level to DEBUG it would automatically register higher levels. How to achieve that? Astrikor
Astrikor General Coding Help 19 5,480 Aug-10-2021, 10:03 AM
    Thread: Windows compatibility
Post: RE: Windows compatibility

My attempts at logging have not been very successful. I have the following code which concludes with an intentional attempt to print a divide-by-zero result to test the logger: import os, logging, lo...
Astrikor General Coding Help 19 5,480 Aug-10-2021, 09:03 AM
    Thread: Windows compatibility
Post: RE: Windows compatibility

Hmmm Thanks for the tip-off Da I will look into the "import logging" module to trap warnings/errors/critical events. Astrikor
Astrikor General Coding Help 19 5,480 Aug-04-2021, 03:02 PM
    Thread: Windows compatibility
Post: RE: Windows compatibility

Well yes of course. All the usual error trapping is in place and working fine, but how to find the location of an error which happens only rarely?
Astrikor General Coding Help 19 5,480 Aug-04-2021, 12:18 PM
    Thread: Windows compatibility
Post: RE: Windows compatibility

(Aug-03-2021, 10:38 AM)supuflounder Wrote: Windows has done something to signal your program that it needs to recover, and that recovery is successful. It is not caused by Windows; Windows did not "...
Astrikor General Coding Help 19 5,480 Aug-04-2021, 08:31 AM
    Thread: Windows compatibility
Post: RE: Windows compatibility

Many thanks supuflounder, That's very helpful. Astrikor
Astrikor General Coding Help 19 5,480 Aug-03-2021, 11:39 AM
    Thread: Windows compatibility
Post: RE: Windows compatibility

Unfortunately the code is propriety, so can't be published. Can anyone respond to my general query - if WINDOWS is offering to fix Python code is WINDOWS causing the error? Astrikor
Astrikor General Coding Help 19 5,480 Aug-03-2021, 10:12 AM
    Thread: Windows compatibility
Post: Windows compatibility

I have a program running which continuously displays current time in a Tkinter window. Occasionally the program hangs with Red "Close" button in the Tkinter window. Left-clicking the button gives a...
Astrikor General Coding Help 19 5,480 Aug-03-2021, 08:52 AM
    Thread: Dual Tkinter windows and shells
Post: RE: Dual Tkinter windows and shells

Problem solved by running the two files independently and inter communicating via text files. May not be the most elegant or fastest solution, but it works, giving me a Tkinter window for each file. ...
Astrikor GUI 6 4,092 Sep-03-2020, 10:09 PM
    Thread: Dual Tkinter windows and shells
Post: RE: Dual Tkinter windows and shells

Consider it rather like a cycling peloton. (Both applications are accessing sales data from a URL). When one application runs out of steam (the turnover falls too far), the other takes over from the ...
Astrikor GUI 6 4,092 Sep-01-2020, 06:51 PM
    Thread: Dual Tkinter windows and shells
Post: RE: Dual Tkinter windows and shells

Thanks deanhystad, What I am trying to do is to run two completely separate versions of my code, but to be able to interchange data between them, and I was calling the function for that purpose. I'l...
Astrikor GUI 6 4,092 Sep-01-2020, 06:59 AM
    Thread: Dual Tkinter windows and shells
Post: Dual Tkinter windows and shells

I have two files with similar coding in each and I want to send data from one file to the other by calling it's function. I want the result to be a Tkinter window and a shell window generated from eac...
Astrikor GUI 6 4,092 Aug-31-2020, 08:54 PM
    Thread: Tkinter window anomaly.
Post: RE: Tkinter window anomaly.

You may be right Yoriz re Windows 10, perhaps on concentrating on the displayed results, maybe I was unaware of my cursor location. Having said that, some processes are running for several hours, so m...
Astrikor News and Discussions 2 2,861 Aug-11-2020, 02:24 PM
    Thread: Tkinter window anomaly.
Post: Tkinter window anomaly.

I am running a data processing program which has a Tkinter window displaying running results and the current time. I am puzzled that occasionally the Close "X" button on the tkinter window turns colou...
Astrikor News and Discussions 2 2,861 Aug-11-2020, 01:03 PM
    Thread: Problem Sending a Dataset to a function
Post: RE: Problem Sending a Dataset to a function

Thanks Bowlofred, very instructive ! Although the two versions of k1 look similar when printed, clearly Python sees them differently. Your suggestion solves the problem, and I am using eval to conver...
Astrikor General Coding Help 2 1,882 Jun-10-2020, 08:09 AM
    Thread: Problem Sending a Dataset to a function
Post: Problem Sending a Dataset to a function

I'm have a problem operating on a set of integers to determine the gradient of the sequence. in principle it works ok. I have posted the main code "SourceData" and the function "gradients" to demons...
Astrikor General Coding Help 2 1,882 Jun-09-2020, 09:07 PM
    Thread: Removing internal brackets from a string
Post: RE: Removing internal brackets from a string

Works brilliantly with your simple code converting to string. Many thanks Buran. Astrikor
Astrikor General Coding Help 4 2,772 Jun-04-2020, 07:54 PM
    Thread: Removing internal brackets from a string
Post: RE: Removing internal brackets from a string

I don't have access to the source code. So the problem remains - how to clear the internal brackets?
Astrikor General Coding Help 4 2,772 Jun-04-2020, 06:47 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020