• sublime text3设置Pytho

    auto 2019-09-24 08:22:53 python

    1887°

    20

    Package Control 安装方法  1.通过快捷键 ctrl+`或者View > Show Console 打开控制台,然后粘贴相应的 Python 安装代码;  2.Sublime Text
  • django-python3-mysql

    auto 2019-09-24 08:22:53 python

    2035°

    20

    pip install pymysql使用python3和Django搭建自己的服务器的时候使用的是sqlite数据库,一切顺利.可是等到布置生产环境的时候要换成MySQL,根据Django官网的文档
  • Python编程入门与实践 流畅的py

    auto 2019-09-24 08:22:53 python

    1975°

    20

    参看我的博客名称获取
  • Python 2和Python 3的区别

    auto 2019-09-24 08:22:53 python

    1606°

    20

    原文转载自:http://www.pythontip.com/blog/post/13118/1.性能Py3.0运行 pystone benchmark的速度比Py2.5慢30%。Guido认为Py3
  • pm2执行python脚本 后台运行

    auto 2019-09-24 08:20:59 python

    3449°

    20

    与执行nodejs一样简单、优雅 pm2 start main.py -x --interpreter python
  • python下使用pcl

    auto 2019-09-24 08:20:59 python

    3021°

    20

    各路安装方法参见https://github.com/strawlab/python-pcl,在此仅记录linux下的安装: 安装依赖库: sudo add-apt-repository ppa:v-
  • python学习之-获取get和post

    auto 2019-09-24 08:20:59 python

    2527°

    20

    1.python接收get请求里的参数req = request.args.get('xxx')2.python接收post请求里的参数req = request.form.get('xxx')
  • 查看Python库的版本和路径

    auto 2019-09-24 08:20:59 python

    2145°

    20

    linux系统和Windows系统均可使用以Tensorflow为例1、进入当前python环境;2、import tensorflow as tf3、tf.__version__(查看版本)4、tf
  • 使用python-docx读取doc,d

    auto 2019-09-24 08:20:59 python

    1788°

    20

    API: http://python-docx.readthedocs.io/en/latest/#api-documentation 将doc转为docx: from win3
  • 在python中实现基于ICE框架的cl

    auto 2019-09-24 08:20:59 python

    2411°

    20

    ICE (Internet Communication Engine) 是zeroc公司实现的通信中间件 几大特性: 1. 多语言支持C++、Java、python, C#等, 2.
  • python 把数字写入文件

    auto 2019-09-24 08:20:59 python

    1812°

    20

    初学python,还不是很了解,其实只要用str() 将数字包住即可如下:file.write(str(12));
  • python 正则表达式判断URL是否合

    auto 2019-09-24 08:20:59 python

    2429°

    20

    python 正则表达式判断URL是否合法
  • Python学习笔记(二):使用Pyth

    auto 2019-09-24 08:20:59 python

    2291°

    20

    1.目的: 2.安装XlsxWriter 3.xlsxwriter常用功能: 4.在Excel中写数据: 4.1 一维表格生成 1.目的: 用xlwt来生成excel的,生成的后缀名为xls,在xlw
  • python 操作crontab 实现

    auto 2019-09-24 08:20:59 python

    2273°

    20

    写crontab 任务时,python指定绝对路径脚本文件 06292000.py,不要用相对路径,因为crontab执行时,默认目录是你python的目录。不是你脚本文件所在的目录。所以程序中如果需
  • python连接phoenix

    auto 2019-09-24 08:20:59 python

    2307°

    20

    1.方案这里我们通过Jpype和JayDeBeApi 来连接2.过程这里我列出实例代码:import jpype import jaydebeapi import os phoenix_client_
  • python测试dubbo接口

    auto 2019-09-24 08:20:59 python

    2342°

    20

    本文主要介绍使用Python调用Hession协议dubbo接口示例。 关于Dubbo Hession协议: Dubbo本身支持多种远程调用方式,例如Dubbo RPC(二进制序列化 + tcp协议)
  • python毫秒级延时

    auto 2019-09-24 08:20:59 python

    2170°

    20

    一、毫秒延时 近期有一个ms级别延时的需求,实际测试了一下, 环境:win7 64位,python2.7.13 结果:毫秒级别的延时是能够支持的,微妙是不支持的。 二、de
  • 树莓派Python编程到底是什么?

    auto 2019-09-24 08:20:59 python

    1908°

    20

    在学习Python编程的过程中,大家可能会接触到一个叫做树莓派的东西,那这个树莓派是什么呢?为什么要用它来做Python编程?树莓派是个用来学习编程的优秀设备,它可以理解多种语言。第一,它很便宜。价格
  • python 3.x 分析日志的模块(正

    auto 2019-09-24 08:20:11 python

    1929°

    20

    #导入正则模块importreauth="no_shutdown_"'''分析日志的模块,查找日志中标志性信息产生的次数'''#定义你需要查找的对象的正则表达式wordcheck#需要分析的日志的路径
  • Ubuntu部署python3-flas

    auto 2019-09-24 08:20:11 python

    1589°

    20

    https://blog.51cto.com/blogger/publish安装虚拟环境$aptinstallvirtualenv$aptinstallvirtualenvwrapper把虚拟机环境添