一、环境:pycharm+python3+flask
二、登录功能
denglu.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form action="">
账号:
<input type="text" name="name">
<br>
密码:
<input type="password" name="password">
<br>
<input type="submit" name="submit">
</form>
</body>
</html>
denglu.py
#登录http://127.0.0.1:5000/denglu
from flask i