我试图从html文件中获取用户输入,并将其传递给位于同一目录中另一个python文件中的函数。用户应该将用户名和密码输入到html网页中,并将输入传递到另一个python文件中,以运行大量的验证函数。" name="password" placeholder="password">
<button ty
在flask中,html文件存储在/templates目录中。我仍然是这个微框架和python3的新手。在我的主要python代码中,我有一个函数,例如 """ this is the function that I need to use wihtin the html template below"""""