
flask
Python Flask 使用,同名公众号:JavaPub
JavaPub-rodert
技术&自媒体,专注于面试技巧,擅长Java、Go、MySQL、区块链
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python3之flask快速入门教程Demo
本代码是flask入门篇,适合初学者,阅读时间大概三分钟,实现输入固定账号密码跳转到百度首页,持续更新,需要请关注HTML文件放在templates目录下<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Docum原创 2018-10-22 12:06:30 · 2947 阅读 · 0 评论 -
python做http请求
基于flask,封装http服务 #客户端import requestsurl = 'http://127.0.0.1:16701/mail/sendmail'response = requests.post(url,data={"subject":"subject","body":"Test","to":["[email protected]","[email protected]原创 2019-02-14 16:40:04 · 1503 阅读 · 0 评论 -
Flask之ajax操作示例
python3.6,flask使用简例,目录结构index2.html<html><head> <link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <script s...原创 2019-01-30 15:18:02 · 6250 阅读 · 0 评论 -
python 启动一个http服务
from flask import Flaskfrom flask_restful import Api, Resource, reqparseparser = reqparse.RequestParser(trim=True)parser.add_argument('name', location=['json', 'args'])parser.add_argument('name'...转载 2019-07-18 10:15:37 · 1154 阅读 · 0 评论