'Python script I want run loop when system time 30 second
I want to run the loop only when the actual system time has 30 seconds mark and then onwards every iteration happens after 1 minute.
import pandas as pd
from datetime import datetime
df = pd. read_excel('data.xlsx')
Time30 = now.replace(hour=00, minute=00, second=30)
for i in df.index:
entry = df.loc[i]
now = datetime.now()
current_time = now.strptime('%S')
current_time == Time30
name_input = browser.find_element_by_name('fullname')
password_input = browser.find_element_by_name('password")
`````````
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
