How do I make my code jump back to a previous line? Programming by trueriver …new password: ") User_password = newUserPasswordWAdmin time.sleep(1) print("New password set!")…password: ") User_password = newUserPassword time.sleep(1) print("New password set!"… Re: How do I make my code jump back to a previous line? Programming by trueriver … new password: ") User_password = newUserPasswordWAdmin time.sleep(1) print("New password set!") else…new password: ") User_password = newUserPassword time.sleep(1) print("New password set!")… Re: How do I make my code jump back to a previous line? Programming by woooee if sysInfo.lower() in ["exit", "Exit", "EXIT"]: since sysinfo is now lower(), it will never be equal to "Exit" or "EXIT" Re: How do I make my code jump back to a previous line? Programming by Dani Organizing code into functions is always important for readability and also to be able to reuse parts of your code as your app gets bigger. Thank you for posting your updated code to share with others :) Re: When Speed Replaces Satisfaction in Coding Community Center Say Hello! by trcooke … your code? Can you put your code in production and sleep well at night? Re: C++ College Prank Programming Software Development by cirol Pranks can be fun, but fake viruses might cause real worry and problems. It’s best to use your skills in ways that don’t upset or confuse others. Re: Create Infinite Loop In Bash Hardware and Software Linux and Unix by asadalikhan while true; do echo "Running..."; sleep 60; done This runs forever, printing "Running..." every 60 seconds. No script file needed, just drop it in the terminal and you're good. Re: Sleep and Hibernate difference Hardware and Software by CimmerianX Sleep mode is a very low power mode where the laptop … little power as possible. Network connections are usually lost in sleep mode but can be maintained with proper settings. If power… is lost, your laptop's battery will maintain the sleep state until it runs out of juice. Hibernation mode is… Re: Sleep Problem Programming Software Development by Narue Sleep from windows.h also takes milliseconds, not seconds. Your call would change to [ICODE]Sleep(5000)[/ICODE]. Re: Sleep Community Center Geeks' Lounge by mattyd …On an average, I get about 8-hours of sleep each night. This is not planned, but only… of the sleeping extremes that exist; sometimes I sleep for only 4-5 hours, sometimes 12-13.…. This is wonderful but it fuels my erratic sleep cycles-- once I begin something I cannot stop… 5 P.M. (East Coast Time) then sleep until I wake-up, sometimes only after a … Sleep Community Center Geeks' Lounge by purple rainx How much sleep do you get each night? Sleep is so important and personally I wish I could get alot more of it. I get 7 hrs per day and feel very tired. I think 9 would be beter. Re: Sleep Community Center Geeks' Lounge by John A Me, I get about 8-9 hours of sleep. On weekends when I'm really lazy, sometimes I sleep for nearly 12 hours. :cheesy: ZZzzzzz....... [quote=~s.o.s~;283857]So in the end my signature stands correct.[/quote] On what basis do you make this judgement? If you're an atheist, do you [I]really[/I] believe that you "evolved from a rock"? :D Re: Sleep Community Center Geeks' Lounge by pusia Strange thing... I can sleep 10,12 or even 18 hours/day... And my grown-up boys are same. Of course we do not do that, but sometimes when one of us takes short nap during the day it s not short necessary. :) Anyway usually I go to sleep about 4am, wake up at 11-12 am. I'm not young and must say this is not good for my health. Re: Sleep Community Center Geeks' Lounge by happygeek The scientific research on sleep patterns and health is so contradictory as to be as … it comes down to that much forgotten resource, common sense. Sleep for however long is good for you, eat well, exercise… Re: Sleep Community Center Geeks' Lounge by Chaky Knowledgeable people say that 4h of sleep a day is enough. I bet that those very people that say that either sleep at least 9h a day or are bunch of coffee-freaks. Re: Sleep Community Center Geeks' Lounge by Ancient Dragon [code] Sleep(1000 * 60 * 60 * 7); [/code] Re: Sleep Community Center Geeks' Lounge by Lefticus_left Anything over 6 hours, continual sleep is a bonus for me :!: Re: Sleep Community Center Geeks' Lounge by Dani … my best ideas right before bedtime, and I don't sleep until I've implemented the idea. My longest time up… Re: Sleep Community Center Geeks' Lounge by BamaStangGuy I usally go to sleep around 3AM or 4AM and I wake up at around 11-12 :) I find it is much more relaxing to work on my web sites in the morning with less disturbances and it is so much quieter. Re: Sleep Community Center Geeks' Lounge by Dani [quote=BamaStangGuy;283167]I usally go to sleep around 3AM or 4AM and I wake up at around 11-12 :) I find it is much more relaxing to work on my web sites in the morning with less disturbances and it is so much quieter.[/quote] Those are similar to my hours, especially now that the bowling alley is open and it closes at 1 am. Re: Sleep Community Center Geeks' Lounge by blud I goto sleep at 12:30-1am and wake up around 7:30-8am. Re: Sleep Community Center Geeks' Lounge by WaltP …=leaguebowlinghq8.swf]here[/url] :D [QUOTE=blud;283359]I goto sleep at 12:30-1am and wake up around 7:30… Re: Sleep Community Center Geeks' Lounge by Dani [quote=blud;283359]I goto sleep at 12:30-1am and wake up around 7:30-8am.[/quote] But I was just talking to you online a couple of minutes ago, and it's after 3 am for me (and 2 am for you). Re: Sleep Community Center Geeks' Lounge by mattyd … quite fun and I work best at night. I will sleep in a few hours, but until then the Internet calls… Re: Sleep Community Center Geeks' Lounge by happygeek … numb the pain. Sometimes I drink myself into a long sleep, but only as a last resort and maybe once a… Re: Sleep Community Center Geeks' Lounge by purple rainx … hope you feel better. It must be really hard to sleep to get a good nights rest. Have you tried alternative… Re: Sleep Community Center Geeks' Lounge by jbennet … numb the pain. Sometimes I drink myself into a long sleep, but only as a last resort and maybe once a… Re: Sleep Community Center Geeks' Lounge by happygeek … hope you feel better. It must be really hard to sleep to get a good nights rest. Have you tried alternative… Re: Sleep Community Center Geeks' Lounge by iamthwee …. Naughty naughty. As I said this thread is about "sleep" yep. Re: Sleep Community Center Geeks' Lounge by Chaky I never sleep. I just faint from time to time. 6 - 7 times a week.