码迷,mamicode.com
首页 >  
搜索关键字:fh admin模版下载    ( 123个结果
perl special charecter
$_$PROCESS_ID$$read a file line by line#!/usr/bin/perluse strict;use warnings;my $dir ="./tmp";open (FH, ") {print "$_";}
分类:其他好文   时间:2014-07-22 23:09:35    阅读次数:293
AttributeError: 'module' object has no attribute 'handlers'--Python子模块导入问题
想使用python的logging模块记录日志,并使用RotatingFileHandler来处理日志以便于在日志文件超过指定的大小后会重新生成新的日志文件。 基本代码如下: import logging logger = logging.getLogger('mylogger') logger.setLevel(logging.INFO) fh=logging.handlers.Ro...
分类:编程语言   时间:2014-05-08 00:25:12    阅读次数:457
编程解决Linux下解压zip乱码问题
JDK7 的ZipInputStream新添了一个构造方法,第二个参数可以指定字符集。这样一来我们就能用这个类写一个解压程序解决zip乱码问题了。 下面是代码: package cn.fh; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io....
分类:系统相关   时间:2014-04-29 13:36:20    阅读次数:536
123条   上一页 1 ... 11 12 13
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!