[issue34258] Python shell keeps restarting
New submission from Aleksa Bulatovic : I was writing a code for my test in idle python.When i run the module it's just keeps restarting. This is my code: sins = 0 check = input() if check == "check_sins": print(sins) second = input("Ok,you can start when you are ready,type Im Ready! if you want to start the game") print("Welcome to How smart are you test") name = input("What's your name? ") print(name) if name == "Dimitrije": print("Nice to meet you Dimitrije") start = input("Ready to start the test: ") if start == "Yes": print("A) Gorillaz") print("B) Alvin and the chipmunks") print("C) Despacito 2") print("D) Who are you even") q1 = input("Which was the first animated band ever created? ") a1 = "A) Gorillaz" b1 = "B) Alvin and the chipmunks" c1 = "C) Despacito 2" d1 = "D) Who are you even" if q1 == "A" or q1 == "a": print("You are right,adding 10 sins for that") sins += 10 else: sins = sins - 10 print("A) Milan") print("B) ") print("") print("") else: print(second) if start == "Im ready!": print("Ok,let's start") print(q1) print(a1) print(b1) print(c1) print(d1) if q1 == "A": print("You are right,adding 10 sins for that") sins = sins + 10 Note:I started learning python yesterday and sins are just a refrence of the youtube channel name called CinemaSins.So don't judge. -- components: Windows messages: 322542 nosy: Cross!Alex21, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Python shell keeps restarting versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue34258> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34258] Python shell keeps restarting
Aleksa Bulatovic added the comment: Im running as a idle python(when im in editor,i run the module) I get like in 3 days(if you asked when did i get into the program,english is not my first language) For my input calls i put a string so that player knows what to answer to. I hope i answered your questions for details.(I don't understand some things when someone says like ' PyArg_ParseTupleAndKeywords' or something like that,im 12 year old so i don't understand some issues) -- ___ Python tracker <https://bugs.python.org/issue34258> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34258] Python shell keeps restarting
Aleksa Bulatovic added the comment: Well the error looks like this = RESTART: F:\Python Shell Learning\Games\How smart are you Test.py = i think it's normal but it won't show '>>> '.I will see what i can do,but thanks for some help. -- ___ Python tracker <https://bugs.python.org/issue34258> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34258] Python shell keeps restarting
Aleksa Bulatovic added the comment: Thanks Terry J. ReedyTerry. -- ___ Python tracker <https://bugs.python.org/issue34258> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34289] System can't find the path of Python
New submission from Aleksa Bulatovic : Before you say,yes,i have python path but the system can't find it.Is it because of the installation folder (because i didn't install in the default location) or maybe other? -- components: Windows messages: 322748 nosy: Cross!Alex21, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: System can't find the path of Python versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue34289> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34289] System can't find the path of Python
Aleksa Bulatovic added the comment: No,when i type 'cd Python37',the system can't find the path,but i have the path set. (English is not my first language and i started python about 5 or 6 days ago) -- ___ Python tracker <https://bugs.python.org/issue34289> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com