Need help really bad ;( - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Need help really bad ;( (/thread-27108.html) |
Need help really bad ;( - MianDoesCoding - May-26-2020 Hey guys!, so im making a little thing like with imput, else if-else and more to ask somthing. but i was wondering, could i make like somthing that makes the messags come in thier own time like Welcome to Mian's Test! (after 5 seconds) Loading... (after 5 secconds) <----- How do i make this like so it waits (space) (space) (space) Loading... Hi! Thanks for the help :) RE: Need help really bad ;( - buran - May-26-2020 time.sleep(5) But I never understood why every other newbie wants to delay the program execution with unnecessary delays like this RE: Need help really bad ;( - GOTO10 - May-26-2020 You can use the time module for this. In the example below, "World!" appears on the screen 5 seconds after "Hello" does. import time print('Hello') time.sleep(5) print('World!') RE: Need help really bad ;( - pythonlearner1 - May-26-2020 (May-26-2020, 12:12 PM)buran Wrote: because he/she might want to check output and then move to next line? RE: Need help really bad ;( - buran - May-26-2020 (May-26-2020, 08:39 PM)pythonlearner1 Wrote: because he/she might want to check output and then move to next line?please... be serious RE: Need help really bad ;( - jefsummers - May-26-2020 For dramatic effect. I see you shiver with antici.....................................................pation RE: Need help really bad ;( - Yoriz - May-26-2020 I was going to join the conversation in this thread but it will have to wait till after I've had a sleep Yoriz.sleep(5) RE: Need help really bad ;( - MianDoesCoding - Jun-04-2020 (May-26-2020, 09:11 PM)Yoriz Wrote: I was going to join the conversation in this thread but it will have to wait till after I've had a sleep racist |