拿Pygments做了个在线代码着色工具

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

拿Pygments做了个在线代码着色工具

realfun
http://www.peerat.com/code/
基于 Python CGI + Pygments 制作

初学web编程和CGI,保存数据库和加行号选项什么的还没做

BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?

--
http://www.2maomao.com/blog
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

1234-2
不错 不错~~  呵呵

在08-1-25,realfun <[hidden email]> 写道:
<a href="http://www.peerat.com/code/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.peerat.com/code/
基于 <a href="http://www.python.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Python CGI + <a href="http://pygments.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Pygments 制作

初学web编程和CGI,保存数据库和加行号选项什么的还没做

BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?

--
<a href="http://www.2maomao.com/blog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.2maomao.com/blog

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://python.cn/mailman/listinfo/python-chinese" target="_blank"> http://python.cn/mailman/listinfo/python-chinese


_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

大郎
In reply to this post by realfun
着色的处理由js来实现比较好.

2008/1/25 realfun <[hidden email]>:
http://www.peerat.com/code/
基于 Python CGI + Pygments 制作

初学web编程和CGI,保存数据库和加行号选项什么的还没做

BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?

--
http://www.2maomao.com/blog

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
http://del.icio.us/iexper
http://twitter.com/qichangxing
http://webpy.org
http://blog.hi0791.com (build with web.py)
http://www.baicai.com 百才招聘
Gtalk: iexper(at)gmail.com


_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

A.TNG
In reply to this post by realfun
实现方式就是 给关键字加颜色么?
或者做了其他的工作,例如代码缩进。

2008/1/25 realfun <[hidden email]>:
http://www.peerat.com/code/
基于 Python CGI + Pygments 制作

初学web编程和CGI,保存数据库和加行号选项什么的还没做

BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?

--
http://www.2maomao.com/blog

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
Best Regard,
Tang, Jiyu (Joey)
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

realfun
不是很清楚啊,Pygments做的,我连看都没看//blush

在08-1-25,Joey <[hidden email]> 写道:
实现方式就是 给关键字加颜色么?
或者做了其他的工作,例如代码缩进。

2008/1/25 realfun <[hidden email]>:
<a href="http://www.peerat.com/code/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.peerat.com/code/
基于 <a href="http://www.python.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Python CGI + <a href="http://pygments.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Pygments 制作

初学web编程和CGI,保存数据库和加行号选项什么的还没做

BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?

--
<a href="http://www.2maomao.com/blog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.2maomao.com/blog

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: <a href="http://python.cn/mailman/listinfo/python-chinese" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://python.cn/mailman/listinfo/python-chinese



--
Best Regard,
Tang, Jiyu (Joey)

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://python.cn/mailman/listinfo/python-chinese" target="_blank"> http://python.cn/mailman/listinfo/python-chinese



--
http://www.2maomao.com/blog
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

Zoom.Quiet
In reply to this post by realfun
2008/1/25 realfun <[hidden email]>:
> http://www.peerat.com/code/
> 基于 Python CGI + Pygments 制作
>
sooo cool 具体的如何的?有代码可以分享否?

> 初学web编程和CGI,保存数据库和加行号选项什么的还没做
>
> BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?
>
> --
> http://www.2maomao.com/blog
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



--
'''Time is unimportant, only life important!
过程改进乃是开始催生可促生靠谱的人的组织!
'''http://zoomquiet.org
博 @ http://blog.zoomquiet.org/pyblosxom/
维 @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
豆 @ http://www.douban.com/people/zoomq/
看 @ http://zoomq.haokanbu.com/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
You can get the truely Freedom 4 software.
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

A.TNG
In reply to this post by realfun
恩,Python的优点一览无余。 :)


 
2008/1/25 realfun <[hidden email]>:
不是很清楚啊,Pygments做的,我连看都没看//blush

在08-1-25,Joey <[hidden email]> 写道:
实现方式就是 给关键字加颜色么?
或者做了其他的工作,例如代码缩进。

2008/1/25 realfun <[hidden email]>:
http://www.peerat.com/code/
基于 Python CGI + Pygments 制作

初学web编程和CGI,保存数据库和加行号选项什么的还没做

BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?

--
http://www.2maomao.com/blog

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
Best Regard,
Tang, Jiyu (Joey)

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
Best Regard,
Tang, Jiyu (Joey)
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

realfun
In reply to this post by Zoom.Quiet
Pygments封装的很好,所以我的代码很简单,只是input/output
这里是目前的代码:http://www.peerat.com/code/syntax.src.txt

在08-1-25, Zoom. Quiet <[hidden email]> 写道:
2008/1/25 realfun <[hidden email]>:
> http://www.peerat.com/code/
> 基于 Python CGI + Pygments 制作
>
sooo cool 具体的如何的?有代码可以分享否?

> 初学web编程和CGI,保存数据库和加行号选项什么的还没做
>
> BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?
>
> --
> http://www.2maomao.com/blog
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



--
'''Time is unimportant, only life important!
过程改进乃是开始催生可促生靠谱的人的组织!
'''http://zoomquiet.org
博 @ http://blog.zoomquiet.org/pyblosxom/
维 @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
豆 @ http://www.douban.com/people/zoomq/
看 @ http://zoomq.haokanbu.com/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
You can get the truely Freedom 4 software.
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
http://www.2maomao.com/blog
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

Zoom.Quiet
2008/1/25 realfun <[hidden email]>:
> Pygments封装的很好,所以我的代码很简单,只是input/output
> 这里是目前的代码:http://www.peerat.com/code/syntax.src.txt
>
就 一个脚本? Pythonic!
收藏了:
http://wiki.woodpecker.org.cn/moin/MicroProj/2008-01-25

> 在08-1-25, Zoom. Quiet <[hidden email]> 写道:
>
> > 2008/1/25 realfun <[hidden email]>:
> > > http://www.peerat.com/code/
> > > 基于 Python CGI + Pygments 制作
> > >
> > sooo cool 具体的如何的?有代码可以分享否?
> >
> > > 初学web编程和CGI,保存数据库和加行号选项什么的还没做
> > >
> > > BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?
> > >
> > > --
> > > http://www.2maomao.com/blog
> > > _______________________________________________
> > > python-chinese
> > > Post: send [hidden email]
> > > Subscribe: send subscribe to [hidden email]
> > > Unsubscribe: send unsubscribe to  [hidden email]
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> >
> >
> > --
> > '''Time is unimportant, only life important!
> > 过程改进乃是开始催生可促生靠谱的人的组织!
> > '''http://zoomquiet.org
> > 博 @ http://blog.zoomquiet.org/pyblosxom/
> > 维 @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> > 豆 @ http://www.douban.com/people/zoomq/
> > 看 @ http://zoomq.haokanbu.com/
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
> > Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
> > You can get the truely Freedom 4 software.
> > _______________________________________________
> > python-chinese
> > Post: send [hidden email]
> > Subscribe: send subscribe to [hidden email]
> > Unsubscribe: send unsubscribe to  [hidden email]
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
> http://www.2maomao.com/blog
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



--
'''Time is unimportant, only life important!
过程改进乃是开始催生可促生靠谱的人的组织!
'''http://zoomquiet.org
博 @ http://blog.zoomquiet.org/pyblosxom/
维 @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
豆 @ http://www.douban.com/people/zoomq/
看 @ http://zoomq.haokanbu.com/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
You can get the truely Freedom 4 software.
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

A.TNG
哈哈
 
能简单解释一下 Pythonic的含义么?


 
2008/1/25 Zoom. Quiet <[hidden email]>:
2008/1/25 realfun <[hidden email]>:
> Pygments封装的很好,所以我的代码很简单,只是input/output
> 这里是目前的代码:http://www.peerat.com/code/syntax.src.txt
>
就 一个脚本? Pythonic!
收藏了:
http://wiki.woodpecker.org.cn/moin/MicroProj/2008-01-25
> 在08-1-25, Zoom. Quiet <[hidden email]> 写道:

>
> > 2008/1/25 realfun <[hidden email] >:
> > > http://www.peerat.com/code/
> > > 基于 Python CGI + Pygments 制作
> > >
> > sooo cool 具体的如何的?有代码可以分享否?
> >
> > > 初学web编程和CGI,保存数据库和加行号选项什么的还没做
> > >
> > > BTW: 有谁知道bluehost上怎么用fastcgi和mode_python吗?
> > >
> > > --
> > > http://www.2maomao.com/blog
> > > _______________________________________________
> > > python-chinese
> > > Post: send [hidden email]
> > > Subscribe: send subscribe to [hidden email]
> > > Unsubscribe: send unsubscribe to  [hidden email]
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> >

> >
> >
> > --
> > '''Time is unimportant, only life important!
> > 过程改进乃是开始催生可促生靠谱的人的组织!
> > ''' http://zoomquiet.org
> > 博 @ http://blog.zoomquiet.org/pyblosxom/
> > 维 @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> > 豆 @ http://www.douban.com/people/zoomq/
> > 看 @ http://zoomq.haokanbu.com/
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
> > Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
> > You can get the truely Freedom 4 software.
> > _______________________________________________
> > python-chinese
> > Post: send [hidden email]
> > Subscribe: send subscribe to [hidden email]
> > Unsubscribe: send unsubscribe to  [hidden email]
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> --
> http://www.2maomao.com/blog
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



--
'''Time is unimportant, only life important!
过程改进乃是开始催生可促生靠谱的人的组织!
''' http://zoomquiet.org
博 @ http://blog.zoomquiet.org/pyblosxom/
维 @ http://wiki.woodpecker.org.cn/moin/ZoomQuiet
豆 @ http://www.douban.com/people/zoomq/
看 @ http://zoomq.haokanbu.com/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Pls. usage OOo to replace M$ Office. http://zh.openoffice.org
Pls. usage 7-zip to replace WinRAR/WinZip.  http://7-zip.org
You can get the truely Freedom 4 software.
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
Best Regard,
Tang, Jiyu (Joey)
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

Bugzilla from xiaqqaix@gmail.com
2008/1/25 Joey <[hidden email]>:
> 哈哈
>
> 能简单解释一下 Pythonic的含义么?
-ic
suf. (形容词词尾)表示"...的","像...的","具有...特性的"

Pythonic 就是 Python 的形容词。
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

zongzi
真不错,学习ING。
 
想看看能否自定义语言关键字什么的。

 
在08-1-25,xiaq <[hidden email]> 写道:
2008/1/25 Joey <[hidden email]>:
> 哈哈
>
> 能简单解释一下 Pythonic的含义么?
-ic
suf. (形容词词尾)表示"...的","像...的","具有...特性的"

Pythonic 就是 Python 的形容词。
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
行为源自需求,理念成就未来!
blog:http://www.dps4e.com/b/ & http://blog.dps4e.com
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

zongzi
请问,这个能否做成命令行的工具啊?

在08-1-25,zongzi <[hidden email]> 写道:
真不错,学习ING。
 
想看看能否自定义语言关键字什么的。

 
在08-1-25,xiaq <[hidden email]> 写道:
2008/1/25 Joey <[hidden email]>:
> 哈哈
>
> 能简单解释一下 Pythonic的含义么?
-ic
suf. (形容词词尾)表示"...的","像...的","具有...特性的"

Pythonic 就是 Python 的形容词。
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://python.cn/mailman/listinfo/python-chinese" target="_blank">http://python.cn/mailman/listinfo/python-chinese



--
行为源自需求,理念成就未来!
blog:<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.dps4e.com/b/" target="_blank">http://www.dps4e.com/b/ & <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://blog.dps4e.com/" target="_blank">http://blog.dps4e.com



--
行为源自需求,理念成就未来!
blog: http://www.dps4e.com/b/ & http://blog.dps4e.com
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

Jiahua Huang
什么啊, python-pygments 自己就带了 /usr/bin/pygmentize 这个命令行工具

2008/1/26 zongzi <[hidden email]>:
> 请问,这个能否做成命令行的工具啊?
>
>
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

ne yo
蛮好玩的.有点意思!

在08-1-26,Jiahua Huang <[hidden email]> 写道:
什么啊, python-pygments 自己就带了 /usr/bin/pygmentize 这个命令行工具

2008/1/26 zongzi <[hidden email]>:
> 请问,这个能否做成命令行的工具啊?
>
>
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
呵呵...学呀.学呀!
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 拿Pygments做了个在线代码着色工具

realfun
In reply to this post by zongzi
本来就是支持命令行的,看看Pygments就行了

在08-1-26,zongzi <[hidden email]> 写道:
请问,这个能否做成命令行的工具啊?

在08-1-25,zongzi <[hidden email]> 写道:
真不错,学习ING。
 
想看看能否自定义语言关键字什么的。

 
在08-1-25,xiaq <[hidden email]> 写道:
2008/1/25 Joey <[hidden email]>:
> 哈哈
>
> 能简单解释一下 Pythonic的含义么?
-ic
suf. (形容词词尾)表示"...的","像...的","具有...特性的"

Pythonic 就是 Python 的形容词。
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: <a href="http://python.cn/mailman/listinfo/python-chinese" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://python.cn/mailman/listinfo/python-chinese



--
行为源自需求,理念成就未来!
blog:<a href="http://www.dps4e.com/b/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.dps4e.com/b/ & <a href="http://blog.dps4e.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://blog.dps4e.com



--
行为源自需求,理念成就未来!
blog:<a href="http://www.dps4e.com/b/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.dps4e.com/b/ & <a href="http://blog.dps4e.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://blog.dps4e.com

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://python.cn/mailman/listinfo/python-chinese" target="_blank">http://python.cn/mailman/listinfo/python-chinese



--
http://www.2maomao.com/blog
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese