How do I display a website with html-forms locally using python and collect the user input?

后端 未结 5 1545
猫巷女王i
猫巷女王i 2021-01-06 19:17

I am a behavorial scientist and usually collect data by letting participants do some tasks on a computer and record their responses (I write the programs using the pyglet wr

5条回答
  •  情话喂你
    2021-01-06 19:49

    As AdamKG mentioned, using a webframework would be a good choice. Since Django and similar might be an overkill here, using a micro webframework like 'flask' or 'bottle' would be a great choice.

    This link demonstrates via step by step instruction how to make a simple form via a To-DO application. It assumes zero previous knowledge.

    You can run it only locally also.

提交回复
热议问题