![]() ![]() You may experience differences in behavior in IDLE and other Tk-based applications due to using the newer version of Tk. You may need to upgrade third-party components, like pip, to later versions once they are released. The legacy 10.9+ Intel-only variant will not be provided for Python 3.10 and the universal2 variant will become the default download for future 3.9.x releases. On macOS, we encourage you to use the universal2 binary installer variant whenever possible. There?s been 146 commits since 3.9.5 which is a similar amount compared to 3.8 at the same stage of the release cycle. Python 3.9.6 is the newest major stable release of the Python programming language, and it contains many new features and optimizations. Play around with it, have fun, and see what you can learn!įrom lukasz at Mon Jun 28 15:12:59 2021įrom: lukasz at (=?utf-8?Q?=C5=81ukasz_Langa?=) Independently, and figure out how to carry the information you need. You will have to think about each request Even just a simple thing like print("check_answerĬalled") can tell you all kinds of things. One extremely helpful technique here: "If In Doubt, Print It Out".Įvent-driven code can be hard to debug, so don't be afraid to makeĮxtensive use of print() calls to examine various aspects of the ![]() Recommend making the GET and POST endpoints completely separate here,Īnd designing them in independent functions. There needs to beĮxactly *one* function for any given request. That get called when particular requests come in. When you're building a Flask app, you're defining a bunch of functions Subject: python: server is not receiving input from client flask Thanks!įrom rosuav at Mon Jun 28 14:40:53 2021įrom: rosuav at (Chris Angelico) Return i3 #this should send 2nd part of question/rand_qĬan anyone help me see what I'm doing wrong, and how do I pass the 2nd answer from my list of dict to the client. I3 = ans.get(answers, '')#if the client answers "yes" to the question this part iterates over the part corresponds to yes in the list of dict User1, user2 =, #containers for each player's answers Qa = questions.qa #list of dict with questions ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |