①GET#-*-coding:utf-8-*-importrequestsdefget(url,datas=None):response=requests.get(url,params=datas)json=response.json()returnjson注:参数datas为json格式②POST#-*-coding:utf-8-*-importrequestsdefpost(url,datas=None):response=requests.post(
系统 2019-09-27 17:38:03 2065
一、安装mod_wsgi3.4:./configure--with-apxs=/Users/levin/dev/apache2.2.27/bin/apxs--with-python=/usr/bin/pythonmakemakeinstall编辑httpd.conf使Apache导入模块mod_wsgi.so以及引入vhost配置文件:LoadModulewsgi_modulemodules/mod_wsgi.soIncludeconf/extra/htt
系统 2019-09-27 17:37:36 2065
泡泡网2009年04月21日类型:编译作者:叮当编辑:倪小小