当前位置:网站首页>Flask Development & get/post request
Flask Development & get/post request
2022-07-28 05:19:00 【Pony_ eighteen】
Flask Environment building
pip install Flask # uppercase F

from flask import Flask
import json
app=Flask(__name__) # initialization app
@app.route('/') # Establish a routing
def login():
data = json.dumps({
'name': 'moklv',
'age': 13
})
return data
if __name__ == '__main__':
app.run() # function appTerminal console :
D:\pythom38\python.exe E:/Flask_study/study_0710.py
* Serving Flask app 'study_0710' (lazy loading)
* Environment: production
* Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
127.0.0.1 - - [10/Jul/2022 18:12:37] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [10/Jul/2022 18:12:37] "GET /favicon.ico HTTP/1.1" 404 -
边栏推荐
- MySQL 默认隔离级别是RR,为什么阿里等大厂会改成RC?
- Message forwarding mechanism -- save your program from crashing
- What is the core value of testing?
- Visual studio 2019 new OpenGL project does not need to reconfigure the environment
- 【ARXIV2205】EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformers
- 11.< tag-动态规划和子序列, 子数组>lt.115. 不同的子序列 + lt. 583. 两个字符串的删除操作 dbc
- PC端-bug记录
- FreeRTOS startup process, coding style and debugging method
- 为什么md5不可逆,却还可能被md5免费解密网站解密
- Barbie q! How to analyze the new game app?
猜你喜欢

MySQL(5)

Gan: generative advantageous nets -- paper analysis and the mathematical concepts behind it

Melt cloud x chat, create a "stress free social" habitat with sound

11. < tag dynamic programming and subsequence, subarray> lt.115. Different subsequences + Lt. 583. Deletion of two strings DBC
![[paper notes] - low illumination image enhancement - zeroshot - rrdnet Network - 2020-icme](/img/e3/f9c6bfdbcd5dffd406e3f1d2331050.png)
[paper notes] - low illumination image enhancement - zeroshot - rrdnet Network - 2020-icme

flink思维导图

Transformer -- Analysis and application of attention model

HashSet add

Service object creation and use

PC side bug record
随机推荐
Implementation of simple upload function in PHP development
Offline loading of wkwebview and problems encountered
RT_ Use of thread mailbox
Dell remote control card uses ipmitools to set IPMI
Paper reading notes -- crop yield prediction using deep neural networks
在ruoyi生成的对应数据库的代码 之后我该怎么做才能做出下边图片的样子
【ARXIV2203】SepViT: Separable Vision Transformer
Antd setfieldsvalue warning problem cannot use 'setfieldsvalue' until you use 'getfielddecorator' or
New modularity in ES6
Simulink automatically generates STM32 code details
Read the paper -- a CNN RNN framework for clip yield prediction
多御安全浏览器将改进安全模式,让用户浏览更安全
Redis configuration file explanation / parameter explanation and elimination strategy
Class class added in ES6
MySQL date and time function, varchar and date are mutually converted
The solution after the samesite by default cookies of Chrome browser 91 version are removed, and the solution that cross domain post requests in chrome cannot carry cookies
RT based_ Distributed wireless temperature monitoring system of thread (I)
【CVPR2022 oral】Balanced Multimodal Learning via On-the-fly Gradient Modulation
MySQL basic query
Activation functions sigmoid, tanh, relu in convolutional neural networks