2010-08-25から1日間の記事一覧

Pythonいじり2

今朝の出勤電車ここまではできるようになった >>> pprintast.build(_mod) ===== AST ===== <_ast.Interactive object at 0x100606690> ===== END AST ===== (Interactive (Expr (Call (Attribute (Name (Load)) (Load)) (Name (Load)))))Python側で_astを見やすく表示するモジュールを作るという選択</_ast.interactive>…