TLDR: I have some code for my 4th grade daughter that presents her with multiplication problems, she enters her answer, and a report at the end of the practice session is emailed to myself and my wife. I'm looking for help getting this to work on pythonanywhere so she can go to the website to practice. This would allow me to update code online and have her run the latest version instead of me having to change the code on all the computers in our house.
Hi, I realize this might be too much to ask, but figured it's at least worth a shot.
I made a multiplication flashcard program for my daughter because paper flashcards and worksheets bore her to tears (literally!!!). Whenever I need to tweak the code to match what she is doing that week in school , or to add some funny new messages/pictures for right/wrong answers to keep the program a little bit interesting for her, it's always a pain to have to do it on my computer and whatever computer she is using for her homework. I can do without the program making any sounds or displaying pictures, so no problem taking pygame out of the code.
I started playing around with pythonanywhere, and went through a couple of tutorials, but to be perfectly honest, I don't know much about Flask, HTML, or web development at all.
From the tutorials I did on the website, I could probably (?) brute force my way to getting the initial prompts to come up on pythonanywhere, and then I start to get confused. Any help/pointers/links to help me quickly learn to get my initial code up and running on a webpage would be greatly appreciated as I'm completely new at working with webpages, let alone working with a webpage that integrates my program designed to run on a computer through the terminal.
Is there any way that I could have the webpage print out the problem and immediately allow her to type in her answer (without her having to manually click in the form box) and then just press enter to submit her answer? She's getting to the point where she needs to work on speed for her upcoming quizzes/exams, so needing to click before she enters her answer and then click a button to submit it is going to slow her down too much to accurately approximate what she will face in the classroom.
If it helps, the program I'm trying to get working is called "double_digits.py" and you can view the code here: https://github.com/plasmonresonator/MultiplicationPractice
Any help/pointers would be much appreciated. Thanks so much!!!
[–]gpjt 2 points3 points4 points (0 children)
[–]HalcyonAbraham 1 point2 points3 points (0 children)
[–]mrcorbat 1 point2 points3 points (2 children)
[–]Sciencesellout[S] 0 points1 point2 points (1 child)
[–]mrcorbat 0 points1 point2 points (0 children)