随笔分类 -  Python

Python Decorator
摘要:最近要处理markdown文档,想使用mkdocs来做实时修改显示,但其界面的pages设定总让我这边不是很舒服,不能隐藏,所以打算看一下其源代码,看能不能隐藏,先学习一下Python修饰器的语法,原因是源代码里面用到了修饰器。 阅读全文

posted @ 2016-08-30 07:20 zengjf 阅读(268) 评论(0) 推荐(0)

uwsgi 配置 初试
摘要:将uwsgi命令行参数改成配置文件中的参数。 阅读全文

posted @ 2016-08-06 22:40 zengjf 阅读(616) 评论(0) 推荐(0)

django 初试
摘要:昨天打搭了dgango的服务器,今天学一下怎么来输出一个hello world出来。 阅读全文

posted @ 2016-08-06 13:58 zengjf 阅读(196) 评论(0) 推荐(0)

快速查询Python脚本语法
摘要:Charlie给了一个Android monkey test的网址,发现那篇文章写的不错,于是就多看了作者的几篇blog,发现这张图,真是不错。 阅读全文

posted @ 2016-05-18 16:18 zengjf 阅读(888) 评论(0) 推荐(0)

python auto send email
摘要:本文主要是记录如何使用python的smtplib发邮件,中间遇到授权密码和邮箱密码不同的问题。 阅读全文

posted @ 2016-02-17 16:14 zengjf 阅读(633) 评论(0) 推荐(0)

python Image PNG getpixel R/G/B/A
摘要:本文主要是记录python中如何使用Image模块进行基本的图像R、G、B、A值得获取。为后续的raspberry pi进行图像处理做验证。 阅读全文

posted @ 2016-02-10 16:06 zengjf 阅读(9025) 评论(0) 推荐(0)

AutoGenSystem
摘要:该软件主要是为了解决Android系统更新时,由于版本很多,管理起来复杂,容易出错,于是采用软件自动对系统软件进行组合,目前该软件还没有对生成的文件夹加入命令规范。 阅读全文

posted @ 2016-01-02 14:07 zengjf 阅读(323) 评论(0) 推荐(0)

pycharm Working directory error
摘要:今天在使用pycharm进行autoGenSystem工具软件时总是得不到正确的目录,最后通过获取当前路径,发现当前路径:是"E:\Python\HardwareManager";不是"E:\Python\AutoGenSystem";于是找到问题所在,需要调整工作目录。 阅读全文

posted @ 2016-01-01 14:34 zengjf 阅读(1571) 评论(0) 推荐(0)

Python windows serial
摘要:本文主要是记录python使用串口的情况 阅读全文

posted @ 2015-10-29 09:11 zengjf 阅读(958) 评论(0) 推荐(0)

Python windows ping
摘要:本文仅仅想知道如何在python中进行ping功能测试。 阅读全文

posted @ 2015-10-28 15:42 zengjf 阅读(1069) 评论(0) 推荐(0)

Python selenium chrome 环境配置
摘要:本文主要是记录Win7下配置Python selenium chrome自动化测试环境 阅读全文

posted @ 2015-10-27 11:07 zengjf 阅读(1249) 评论(0) 推荐(0)

PyQt4 ShowHMDB show sqlite3 with QTableWidget summary
摘要:本文主要是记录使用PyQt4进行Sqlite3数据库显示时学习到的东西和遇到的一些问题。 阅读全文

posted @ 2015-10-25 20:54 zengjf 阅读(441) 评论(0) 推荐(0)

PyQt4 py2exe 打包 HardwareManager
摘要:1. 以下代码保存在HardwareManager项目的目录下,名称叫:setup.py; 2. 打开dos窗口,跳转到项目目录; 3. 执行:python setup.py; 4. 进入生成的dist目录下,双击main.exe文件,就可以执行了。 阅读全文

posted @ 2015-10-23 09:58 zengjf 阅读(332) 评论(0) 推荐(0)

PyQt4 HardwareManager
摘要:本软件主要是由于朋友说想要一个产品缺陷记录软件,主要用于记录产品缺陷,通过产品序列号进行插入、查询,本来想用VC++ 6.0做,但是每次打开开发环境就奔溃了,所以只能换一个开发环境,于是尝试用PyQt4进行原型开发,在开发过程中发现,这确实是一个很好的思路,该软件可以换一种思路用于其他环境下,但就目前而已,这仅仅是一个原型。 阅读全文

posted @ 2015-10-23 09:25 zengjf 阅读(571) 评论(0) 推荐(0)

Python 简单网页爬虫学习
摘要:本文主要是参考虫师《python实现简单爬虫功能》中的代码进行学习。 阅读全文

posted @ 2015-10-09 14:59 zengjf 阅读(662) 评论(0) 推荐(0)

ZetCode PyQt4 tutorial custom widget
摘要:In this part of the PyQt4 tutorial, we created a custom widget. 阅读全文

posted @ 2015-10-02 09:09 zengjf 阅读(298) 评论(0) 推荐(0)

ZetCode PyQt4 tutorial basic painting
摘要:In this part of the PyQt4 tutorial, we did some basic painting. 阅读全文

posted @ 2015-10-02 08:00 zengjf 阅读(292) 评论(0) 推荐(0)

ZetCode PyQt4 tutorial Drag and Drop
摘要:This part of the PyQt4 tutorial was dedicated to drag and drop operations. 阅读全文

posted @ 2015-10-02 07:45 zengjf 阅读(623) 评论(0) 推荐(0)

ZetCode PyQt4 tutorial widgets II
摘要:In this part of the PyQt4 tutorial, we covered other four PyQt4 widgets. 阅读全文

posted @ 2015-10-02 07:21 zengjf 阅读(280) 评论(0) 推荐(0)

ZetCode PyQt4 tutorial widgets I
摘要:In this part of the PyQt4 tutorial, we covered several widgets. 阅读全文

posted @ 2015-10-02 07:07 zengjf 阅读(427) 评论(0) 推荐(0)

导航