Adding a Python sleep() Call With time.sleep() If you run this code in your console, then you should experience a delay before you can enter a new statement in the REPL. Note: In Python 3.5, the core developers changed the behavior of time.sleep() slightly.