Log4think
[com.log4think]-[DEBUG] stay hungry, stay foolish
Browse: Home / python

python

A perl Data.Dumper clone for Python

Perl中的Data.Dumper很好用,debug的时候用来dump出某种复杂数据体或者结构非常的方便。例如hash中的hash,hash中的list等等。
这是一个Python版本的,实现了类似的功能,里面也有部分格式化的选项。这段代码还有不少改进的空间,不过是几年前写的,但是时间太久已经不记得[......]

阅读全文

Posted in python | Tagged Dumper, python | Leave a response

旋转矩阵

前天在Google Groups的TopLanguge中看到的一个从JavaEye转过来的帖子。本来应该是给大学生做的课后习题,可是看到的坛友给出的C、C++、Python、Java等代码,都是一大堆的if/else要么就是 switch,何其冗长。和楼主给出的那个反例也差不了多少了。
when i[......]

阅读全文

Posted in python, 知(knowledge) | Tagged problem, python | Leave a response

搜索

  • About
  • CV

Categories

  • 极客&玩物(Geek&Gadget) (9)
  • 知(knowledge) (10)
  • 行(practice) (29)
    • 写代码(coding) (14)
      • android (5)
      • C/C++ (2)
      • debug (1)
      • others (1)
      • python (2)
      • web (1)
      • 算法(algorithm) (3)
    • 玩玩(Fun) (3)
      • WoW/Trinity (3)
    • 系统(system) (8)
      • git (1)
      • linux (4)
      • wordpress (2)
    • 读代码(code reading) (8)
  • 译(translation) (8)

RSS Log4think

  • 代码段速记 gist.github.com
  • A perl Data.Dumper clone for Python
  • The Nerd? Geek? or Dork? Test
  • 使用Gmail作为非加密认证SMTP服务器
  • 魔兽世界 3.3.5 13930 Trinity 认证补丁
  • 魔兽世界3.3.5 13930登录数据包分析
  • 魔兽世界私服Trinity,从源码开始
  • 统一业务模型(UBM) in ERP5
  • 制作ASCII字符动画
  • Ubuntu升级导致的udevd错误修复
  • 行列有序矩阵求第K个数
  • 字节按位逆序
  • 编程之美 1.2 中国相帅问题的一个简洁解法
  • 极客日志(2011-01)
  • 为Windows 7/Windows Server 2008添加IPX协议
  • How to debug with Android Logging
  • 极客日志(2010-10)
  • 利用google-code-prettify做网页内源码的语法高亮
  • 极客日志(2010-09)
  • 星际争霸2的大学专业?

android ANR ASCII AsyncTask auto-excerpt cpio debug eclipse erp5 flame Gadget geek git go google google voice graphics Intent Service interview ipkall iptel.org IPX java javascript karmic learning linode linux log model nimbuzz online painting plugin problem python sharpdevelop sip source Tools ubuntu wordpress wow 源码分析 魔兽世界

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Reference

  • Latex Command List

Tools

  • codemirror – In-browser code editor
  • codepad – Online Code Compiler
  • Kodingen – Cloud Development
  • Online JavaScript editor
  • Online VI editor

看过的书

My Plan

功能

  • 注册
  • 登录
  • 文章 RSS
  • 评论 RSS
  • WordPress.org

23
今日访问
独立IP
Powered By Google Analytics

Copyright © 2011 Log4think.

Powered by WordPress and Hybrid.