python
文章平均质量分 69
cfz77777
java开发工程师,开发经历:ERP(springMVC+hibernate/Mybatis+ExtJs/BootStrap),接口对接,nginx负载均衡,linux服务器部署/维护
展开
-
python3.6 restful simple_server 示例
最近学习python,想用python 写一个restful类型的http服务,但是示例中没找到合适的,所以自己写了个,在此记录代码如下:# -*- coding:utf-8 -*-import ioimport shutilfrom wsgiref.simple_server import BaseHTTPRequestHandler, HTTPServerclass HTTPSer原创 2018-01-18 17:26:23 · 1419 阅读 · 0 评论 -
python 开发环境搭建virtualenv
转载自:https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432712108300322c61f256c74803b43bfd65c6f8d0d0000在开发Python应用程序的时候,系统安装的Python3只有一个版本:3.4。所有第三方的包都会被pip安装到Py转载 2018-02-02 18:38:16 · 180 阅读 · 0 评论 -
python csv/txt转换成excel
参考 https://www.jianshu.com/p/4e39444d5ebc环境:pip install xlwtpython3.6将csv/txt文本通过程序转换成excel文件,自定义分隔符# -*- coding:utf-8 -*-__author__ = 'zhuyuru'#参考 https://www.jianshu.com/p/4e39444d5ebc# from work...原创 2018-02-28 09:58:03 · 4103 阅读 · 0 评论 -
python操作mongo
参考:https://www.cnblogs.com/similarface/p/5608987.html依赖于python2.7模块:xlwt,pymongo实践代码# -*- coding:utf-8 -*-# 参考:https://www.cnblogs.com/similarface/p/5608987.htmlimport xlwtimport sysfrom pymongo i...转载 2018-03-02 14:51:02 · 266 阅读 · 0 评论