Please don't add things like edit : solved. import time time.sleep(timehere) to your questions: future readers will see the answer below for themselves. For more info on this topic please see How to Ask.
import time
time.sleep(1) # Sleeps for one second.
Note that generally you don't want a real delay, but you want one thing to happen before the other. Using a delay to emulate ordering is bad code, and will break.
edit : solved. import time time.sleep(timehere)to your questions: future readers will see the answer below for themselves. For more info on this topic please see How to Ask.