Python Forum
Looping Input form / results
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looping Input form / results
#1
I am learning Python and PyMongo a bit on the fly.

Here is a basic gist of what I need but I dont know the best way to pursue it. I need Python to create an indefinite loop only escapable by pressing the Ctrl Key. The loop will consist of a slew of input functions that represent a form. the form will use the data to look up entries in PyMongo, return the results, and reload the input right after the results are posted. Here's an example..

Input Object ID: (You input 5555)
*Program locates Object ID 5555 and posts the data then asks you again to Input Object ID and will do so indefinitely until you kill it with the Ctrl key.*

That and ALSO if you were leave the field blank, for it to ask you another input such as Input Name: -- ect...

I already know how to retrieve the MongoDB query (object ID 5555) so dont need much help there, and I also know how to retrieve the items queried, just need it to bring the form back when its done.

Any help would be appreciated.
Reply


Messages In This Thread
Looping Input form / results - by MikeAW2010 - Jan-16-2018, 06:50 AM
RE: Looping Input form / results - by gruntfutuk - Jan-16-2018, 11:36 AM
RE: Looping Input form / results - by MikeAW2010 - Jan-16-2018, 06:02 PM
RE: Looping Input form / results - by Gribouillis - Jan-16-2018, 06:07 PM
RE: Looping Input form / results - by MikeAW2010 - Jan-16-2018, 09:39 PM
RE: Looping Input form / results - by Gribouillis - Jan-16-2018, 10:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pyscript index error while calling input from html form pyscript_dude 2 1,158 May-21-2023, 08:17 AM
Last Post: snippsat
  Form Results onto Page StewartLFI 3 124,206 Sep-18-2021, 05:00 AM
Last Post: ndc85430
  Search Results Web results Printing the number of days in a given month and year afefDXCTN 1 2,362 Aug-21-2020, 12:20 PM
Last Post: DeaD_EyE
  How to append one function1 results to function2 results SriRajesh 5 3,365 Jan-02-2020, 12:11 PM
Last Post: Killertjuh
  Trying to send input from html form to database SQLite3 RonnyGiezen 3 95,465 Dec-21-2019, 02:09 PM
Last Post: ibreeden
  Need Help with input from Web form amitjain78 3 2,153 Sep-03-2019, 10:13 AM
Last Post: snippsat
  How to keep looping until the user input is valid ? KyawMyo 12 6,537 Jun-10-2019, 02:51 AM
Last Post: KyawMyo
  [Help] Using "Class" with User Input in an online sign up form vanicci 8 6,915 Aug-29-2018, 10:52 AM
Last Post: vanicci

Forum Jump:

User Panel Messages

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