Seven Years of Service
Posts: 157
Threads: 30
Adding a sleep or delay function to a Python script 04-17-2020, 11:23 PM
#1
I have got a couple of Python mailing scripts but trying to figure out a way to alter the scripts so it sends out mail from a mailing list one after the other instead of all at once, maybe like a few seconds delay after each mail is sent, i could upload the scripts here for a closer look if required...
•
Fourteen Years of Service
Posts: 74,291
Threads: 317
RE: Adding a sleep or delay function to a Python script 04-18-2020, 04:36 AM
#2
Thread moved from The Lounge forum, accordingly to Python.
•
Thirteen Years of Service
Posts: 1,948
Threads: 240
RE: Adding a sleep or delay function to a Python script 04-18-2020, 05:41 AM
#3
Can you post your code in a code sample for us?
That way we can give you an example of something that might work for you.
(This post was last modified: 04-18-2020, 05:41 AM by Blue.)
Six Years of Service
Posts: 25
Threads: 0
RE: Adding a sleep or delay function to a Python script 09-11-2020, 09:58 PM
#6
time.sleep(secondshere)
would be easy way to do it.
•