Syntax Highlight

from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import HtmlFormatter

code = 'print "Hello World"'
print highlight(code, PythonLexer(), HtmlFormatter())

ewag - [测试分类]

测试内容

aweg - [llo]

test

计划写一个运行在GAE上的博客

  • 这件事情已经被做烂了,为什么还要重新发明轮子?

    虽然别人做的blog很强,但总有些不如我意的地方。

  • 学习

    • 前段时间学习WSGI,参考很多文章,正好DIY一个框架,完成类似于Django的URL Dispacthing
    • 学习Javascript

...

版权声明

本站文章使用《署名 3.0 Unported》授权,转载时请注意标明文章原始出处和作者信息及本声明。

agawge

awegawg

Free Software, Python, Linux etc

版权声明:本站文章使用《署名 3.0 Unported》授权,转载时请注意标明文章原始出处和作者信息及本声明。 Powered By hupo Original Template: GimpStyle theme designed by Horacio Bella

版权声明:本站文章使用《署名 3.0 Unported》授权,转载时请注意标明文章原始出处和作者信息及本声明
Powered By hupo
Original Template: GimpStyle theme designed by Horacio Bella