DUST

Do the things I want to do

09 2008 档案

WinDBG设置debug msg 输出信息级别
摘要: 在Vista之后,debug信息可以用DbgPrintEx或KdPrintEx有条件地输出。(之前的2003 server或xp等,则是无条件输出,需要自己封装,设定debug信息级别)DbgPrintEx在WinDBG中的信息级别按照如下方式定义:If Level is equal to a number between 0 and 31, inclusive, it isinterpreted...阅读全文

posted @ 2008-09-23 15:51 should 阅读(264) | 评论 (0) 编辑

Python 笔记(3) -- More on Data Structures
摘要: 1. More on List a) Functional Programming Tools: filter(function, sequence): returns a sequence consisting of those items from the sequence for which function(item) is true.如果sequence是string或tuple,则fi...阅读全文

posted @ 2008-09-08 16:32 should 阅读(113) | 评论 (0) 编辑

Python 笔记(2) -- Control Flow
摘要: [Src: Python 2.5 Document]1. if-statement与C/C++不同的是,Python中 if 或 elif 要以 : 结尾[代码]2. for-statement iterates over the items of any sequence(a list or a string)[代码]若要修改序列中的内容,就只能在序列的副本上遍历。这里只能修改list的内容[代...阅读全文

posted @ 2008-09-03 19:00 should 阅读(73) | 评论 (0) 编辑

Python 笔记(1)
摘要: 字符串以双引号"或单引号'为边界,期间可用\。以"""引起来的字符串以其自有的格式保存,无需加\n之类的转义字符。字符串不可以通过下标来修改这里是中字符串的索引方式:[代码]List的简单应用:[代码]List可以嵌套:[代码]multiple assignment:[代码]在赋值前,会先按照从左到右的顺序检查右边表达式。阅读全文

posted @ 2008-09-02 17:01 should 阅读(42) | 评论 (0) 编辑

导航

统计信息

News