自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

转载 OptionParser

OptionParser  from : http://blog.sina.com.cn/s/blog_5d8dae7c010103fn.html  Python 有两个内建的模块用于处理命令行参数:  一个是 getopt,《Deep in python》一书中也有提到,只能简单处理 命令行参数;  另一个是 optparse,它功能强大,而且易于使用,可以方便地生成

2013-02-25 17:08:04 581

转载 Python ConfigParser

http://zhangjunhd.blog.51cto.com/113473/348863  http://docs.python.org/library/configparser.html  http://www.linux-field.com/?p=437  1.读取配置文件 -read(filename) 直接读取ini文件内容 -sections() 得到所

2013-02-22 12:59:46 430

转载 python 格式化输出

使用print输出各型的 字符串 整数 浮点数 出度及精度控制 strHello = Hello Python print strHello #输出结果:Hello Python #直接出字符串 1.格式化输出整数 python print也支持参数格式化,与C言的printf似, strHello = "the length of (%s) is %d" %(Hello

2013-02-11 13:46:38 731

原创 shedskin

Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++. It can generate stand-alone programs or extension modules

2013-02-10 13:14:53 1376

转载 头文件依赖pimpl法

头文件依赖,Pimpl法,加速编译    举个例子:       // File: SoundSystem.h       #include "StreamFilter.h"       #include "Emitters."       class SoundSystem {       public:          // ...       private:

2013-02-02 17:08:22 501

saunders-jeffery.pdf

Today’s modern software projects are written in many different languages: Python, C++, Perl, Java, Javascript, Lua, Unicon, C, all co-exist within a complex environment implementing different components of a system

2020-06-15

空空如也

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

TA关注的人

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