Python Forum
Run a timer when a functions starts to see how long the function takes to complete
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run a timer when a functions starts to see how long the function takes to complete
#3
Thanks a lot!

No, no stealing here!

These are old exams, watermarked by various education agencies, to whom they do not belong. They are rightly the property of the university that created them.

The gf asked me to get rid of the watermark and then watermark them for the agency she works for.

Definitely not art.

Worked great! Result:
Quote:Now getting the jpgs to remove the wm ...
Got 00319-1-11.jpg
jpg is 2245 wide 3417 high
Start time was 1587277575.5664425 end time was 1587277595.3091455
elapsed time is: 19.742702960968018
00319-1-11.jpg watermark gone and saved as /home/pedro/babystuff/wmGone/00319-1-11WMgone.jpg
Got 00319-1-12.jpg
jpg is 2287 wide 3475 high
Start time was 1587277595.3092086 end time was 1587277615.3963969
elapsed time is: 20.087188243865967
00319-1-12.jpg watermark gone and saved as /home/pedro/babystuff/wmGone/00319-1-12WMgone.jpg
now joining up the jpgs without wm ...
Reply


Messages In This Thread
RE: Run a timer when a functions starts to see how long the function takes to complete - by Pedroski55 - Apr-19-2020, 06:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  using threading.Timer for function korenron 1 1,206 Dec-20-2022, 01:09 PM
Last Post: ndc85430
  Move column to the right if it starts with a letter mfernandes 0 682 Oct-25-2022, 11:22 AM
Last Post: mfernandes
  Setup Portable Python on Windows for script starts with double clicks? pstein 0 1,826 Feb-18-2022, 01:29 PM
Last Post: pstein
  Checking the number of arguments a function takes Chirumer 3 2,165 Jul-06-2021, 04:56 PM
Last Post: Chirumer
  Regex: a string does not starts and ends with the same character Melcu54 5 2,441 Jul-04-2021, 07:51 PM
Last Post: Melcu54
  email timer/rss feed timer ndiniz 1 2,090 Feb-02-2021, 07:18 PM
Last Post: nilamo
  Combine Two Recursive Functions To Create One Recursive Selection Sort Function Jeremy7 12 7,398 Jan-17-2021, 03:02 AM
Last Post: Jeremy7
  Code starts slowing down? MemoryError AshkanDev 1 2,163 May-19-2020, 11:38 PM
Last Post: AshkanDev
  Upload takes too long. Makada 29 7,662 Apr-06-2020, 08:06 PM
Last Post: Makada
  Need help with a function that calls other functions. skurrtboi 4 2,552 Sep-30-2019, 09:28 PM
Last Post: stullis

Forum Jump:

User Panel Messages

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