M
M
Michael S.2021-11-02 23:29:17
Python
Michael S., 2021-11-02 23:29:17

How to loop the execution of a function?

I wrote a parser, attached csv to it (instead of a database, because I don’t know how to work with it), I put the parser itself into a function.
I have a question - how to make the parser send a request to the site every 2 weeks. For me to do so -

while True:
    time.sleep(20000) #или сколько там
    def()

not right. Is there any other option?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-11-02
@BUUSSA

Kron.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question