Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timing actions with Python
#1
Question 
I am trying to time certain actions in apps like Excel, Power BI, Tableau, some Adobe apps, but I am having trouble getting the end time of an action. For example, copying cells from Excel and pasting them into PowerPoint or opening a workbook in Power BI or Tableau and waiting for the report/dashboard to fully render. Getting the start time is easy since I just get the time when I execute an action in code, but finding a way to mark when that action finishes has been elusive.

I have started looking into processes and tasks to see if one ends when my action is over. I am using Process Monitor and recording to the screen to see if something happens when the action is over. There is possibly something there I can work with but I haven't been able to get the same level of detail as Process Monitor does with Python. Process Monitor shows the operation of a process/thread. Is there a way to get that in python (I have looked but haven't found it yet)?

Barring that, does anyone have a suggestion of something different I can look at that may help me determine an end time for some of these actions?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  help with accessing .txt file and performing actions SamWestlakeCann 4 398 Mar-07-2024, 07:33 PM
Last Post: deanhystad
  Inconsistent counting / timing with threading rantwhy 1 1,775 Nov-24-2021, 04:04 AM
Last Post: deanhystad
  Synchronization/Timing Problem quest 5 3,013 Mar-31-2021, 10:26 PM
Last Post: quest
  Timing of a while loop stylingpat 4 6,854 Mar-31-2021, 10:48 AM
Last Post: stylingpat
  Loop different actions for an array Tibovdv 4 2,775 Mar-25-2021, 06:46 PM
Last Post: jefsummers
  Assigning Data from one column to another with different associated timing interval alexafshari 1 1,962 Apr-30-2020, 03:59 PM
Last Post: pyzyx3qwerty
  One-time actions when iterating ClassicalSoul 1 1,740 Apr-23-2020, 07:39 PM
Last Post: bowlofred
  Frequency and timing of psycopg2 commits acecase 0 2,144 Nov-01-2019, 05:50 PM
Last Post: acecase
  Perpetual timing Mark17 3 2,908 Oct-24-2019, 03:46 PM
Last Post: Gribouillis
  Timing input Mark17 2 2,308 Oct-23-2019, 08:25 PM
Last Post: Mark17

Forum Jump:

User Panel Messages

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