上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 1 #-*- coding:utf-8 -*- 2 #author: lichmama 3 #email: nextgodhand@163.com 4 #filename: httpd.py 5 import io 6 import os 7 import sys 8 import urllib ... 阅读全文
posted @ 2015-11-01 20:39 lichmama 阅读(1267) 评论(0) 推荐(0) 编辑
摘要: 备忘之:)config.xml D:\0122 image-auto-handler.vbs 1 'Whatfor: rename pictures with Exif property [artist]... 阅读全文
posted @ 2015-11-01 20:37 lichmama 阅读(288) 评论(0) 推荐(0) 编辑
摘要: cygwin和ffmpeg的下载地址:https://cygwin.com/install.htmlhttp://www.ffmpeg.org/download.html标题看上去有些无厘头,然而事实也是如此。事出本因是自己用维棠下载网页视频时速度很是不快,于是复制出来原始的下载地址贴到迅雷上去下载... 阅读全文
posted @ 2015-09-13 22:07 lichmama 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: PIL和QRCode下载地址:http://www.pythonware.com/products/pil/https://pypi.python.org/pypi/qrcode/5.1#你可能需要的setuptools:https://pypi.python.org/pypi/setuptools... 阅读全文
posted @ 2015-07-08 19:48 lichmama 阅读(2380) 评论(0) 推荐(0) 编辑
摘要: 1.方式1__file__ = open(r'log.txt', 'a')print >>__file__, "hello, world!"__file__.close()2.方式2__stdout__ = sys.stdoutsys.stdout = open(r'log.txt', 'a')pr... 阅读全文
posted @ 2015-06-29 19:37 lichmama 阅读(3370) 评论(0) 推荐(0) 编辑
摘要: [参考文档]:http://dongtingyueh.blog.163.com/blog/static/461945320127217563098/http://www.cnblogs.com/sndnnlfhvk/archive/2012/03/27/2419801.html[算法说明]:图像马赛... 阅读全文
posted @ 2015-06-25 21:05 lichmama 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: 转载链接:http://willzh.iteye.com/blog/3072221. 用Jython调用Java类库第一步、创建Java类写一个简单的Java类,用Point来示例: 1 import org.python.core.*; 2 3 public class Point extend... 阅读全文
posted @ 2015-04-14 19:44 lichmama 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 工作需要,特记录下配置tomcat支持jython开发的过程。参考链接:@http://blog.itpub.net/13186779/viewspace-201861/ *环境在win7下搭建,jdk版本1.8(目测jdk>=1.6皆可)1.tomcat安装过程省略下载地址:http://tomc... 阅读全文
posted @ 2015-04-14 19:20 lichmama 阅读(607) 评论(0) 推荐(0) 编辑
摘要: Perl的优势:比C好写,比Shell高效,Linux普遍支持。#!/usr/bin/perl -w# auth: lichmama@cnblogs.com# what: split data_file by date.my $fullpath = $0;my $script_name ... 阅读全文
posted @ 2015-03-30 15:15 lichmama 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 通过接口发送短信的socket小样:#!/usr/bin/perl -w# auth:lichmama@cnblogs.com# what:send message to phone# usage: sms.pl [phonenumber] [text]use s... 阅读全文
posted @ 2015-03-26 15:05 lichmama 阅读(160) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页