Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to rerun script again
#2
I would change your while loops into an if/elif chain. Then put it all into a while loop. Keep the break for valid login, break on exit, and stay in the loop for bad login or new account.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
How to rerun script again - by SteampunkMaverick12 - Apr-29-2019, 07:40 PM
RE: How to rerun script again - by ichabod801 - Apr-29-2019, 08:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Solved] Trying to rerun a snippet of code paracel 3 1,186 Jul-17-2022, 01:49 PM
Last Post: paracel
  How to rerun the program in a loop with different input? bharaths 3 3,812 Nov-23-2018, 09:36 AM
Last Post: bharaths

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020