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


Messages In This Thread
Timing actions with Python - by dangermaus33 - Apr-19-2022, 10:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  help with accessing .txt file and performing actions SamWestlakeCann 4 485 Mar-07-2024, 07:33 PM
Last Post: deanhystad
  Inconsistent counting / timing with threading rantwhy 1 1,819 Nov-24-2021, 04:04 AM
Last Post: deanhystad
  Synchronization/Timing Problem quest 5 3,127 Mar-31-2021, 10:26 PM
Last Post: quest
  Timing of a while loop stylingpat 4 7,097 Mar-31-2021, 10:48 AM
Last Post: stylingpat
  Loop different actions for an array Tibovdv 4 2,856 Mar-25-2021, 06:46 PM
Last Post: jefsummers
  Assigning Data from one column to another with different associated timing interval alexafshari 1 2,005 Apr-30-2020, 03:59 PM
Last Post: pyzyx3qwerty
  One-time actions when iterating ClassicalSoul 1 1,798 Apr-23-2020, 07:39 PM
Last Post: bowlofred
  Frequency and timing of psycopg2 commits acecase 0 2,327 Nov-01-2019, 05:50 PM
Last Post: acecase
  Perpetual timing Mark17 3 2,996 Oct-24-2019, 03:46 PM
Last Post: Gribouillis
  Timing input Mark17 2 2,359 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