Toggle navigation
YangSijie Blog
Home
About Me
Tags
YangSijie Blog
A plant may produce new flowers, man is young but once.
python学习之rabbitmq
rabbitmq学习
RPC与rabbitmq相关 每一个routing_key对应一个message queue,可以认为是MQ的名字; exchange负责将数据路由至对应的MQ; basic_consume()像是声明,只有等到从参数中的MQ中获取到数据后,才会调用对应的callback函数执行; basic_publish()只要执行,就会向MQ发送数据; 三种典型的exchang...
Posted by YangSijie on June 11, 2018
python学习之入门
入门
Python入门 # 使用交互式进入python环境 python >>> print("Hello, world!") 数值运算: 符号 含义 + 加 - 减 * 乘 ...
Posted by YangSijie on June 11, 2018
python学习之flask模块
flask模块的基本使用
Flask模块 1.首先一个基本的demo: from flask import Flask app = Flask(__name__) @app.route('/hello') def hello_world(): return ('hello, world!\n') if __name__ == '__main__': app.run(host='0.0.0.0...
Posted by YangSijie on June 11, 2018
← Newer Posts
FEATURED TAGS
python
openstack
ABOUT ME
Art is long, but life is short!
✉️ 490601519@qq.com