1

I have been trying to make a personal assistant. I made a alarm clock a days ago, but its working like its testing if the date is the same like the real time. And my problem is that i would also use the main script while the alarm clock is check. But is there a way to do that? Like a module system or something else?

1
  • Either run two scripts of learn about threading Commented Aug 21, 2018 at 14:55

1 Answer 1

1

Two solutions, Threads

https://en.wikibooks.org/wiki/Python_Programming/Threading

or async like gevent

http://sdiehl.github.io/gevent-tutorial/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.