自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 My Django Cookbook

windows运行“django-admin.py startproject hello”创建django项目时报错“ImportError: No module named django.core”  原因:安装两个版本的python,运行py程序使用前一个版本python程序所致 解决:卸载老版本python,在删除程序过程选择“repair”修复py文件管理程序,再试试就OK了。   ...

2011-01-25 16:04:56 67

原创 sed命令

sed命令 输出第二行到行尾 sed   '2,$w output.txt' input.txt   删除文件第一行,并输出到文件  sed -e '1d' input.txt >> output.txt   删除第一行到第五行,并输出到文件 sed -e '1,5d' input.txt >> output.txt   删除第一行并更新到input文件...

2011-01-21 15:16:55 79

原创 My Java Cookbook

// 除法,并返回百分比格式 public static String percent(double num1, double num2) { NumberFormat format = NumberFormat.getPercentInstance(); format.setMinimumFractionDigits(4); // 小数点精度 return format...

2011-01-05 20:44:12 69

原创 linux环境下cx_Oracle的“ImportError: No module named cx_Oracle”错误。

环境:redhat AS + python2.7 + oracle instant client + cx_oracle   oracle instant client10.2.4 (linux) http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html   我下载的是:ora...

2011-01-03 13:20:42 775

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除