| View Comments ]


最近几日一直在学习正则表达式,今日又试着获取51啦啦的统计信息:今日访问量和作日访问量
不得不提及的就是我现在的Python编程环境Eclipse+Pydev+Regex Util+Pylint

Eclipse自不必多说,一个基于Java的IDE集成开发环境,不单单能够支持Java,J2EE,J2ME等java方面的开发还可进行C/C++,PHP,Ruby,Perl,Javascript,Web等等开发,这一切只需要进行相关的设置然后更新或者下载相应的模块进行安装即可。

而相对应Python的对应插件也即为Pedev,安装之后就可进行Python程序开发,不过诸如Django等等之类的不知道有没有其他插件可以完美解决。

近日对正则表达式(Regex Expression)兴趣正浓,而进行匹配总想立马看到结果不是,在Eclipse中则也有相应的工具让你的正则表达式立竿见影,那就是Regex Util,安装之后操作也很方便

至于Pylint到底是个什么东东我也说不清楚,查看介绍如下:
******************************************************
python code static checker
Pylint is a Python source code analyzer which looks for programming
errors, helps enforcing a coding standard and sniffs for some code
smells (as defined in Martin Fowler's Refactoring book)

Pylint can be seen as another PyChecker since nearly all tests you
can do with PyChecker can also be done with Pylint. However, Pylint
offers some more features, like checking length of lines of code,
checking if variable names are well-formed according to your coding
standard, or checking if declared interfaces are truly implemented,
and much more.

Additionally, it is possible to write plugins to add your own checks.

The recommended python-tk package is only for using the pylint-gui
script.

Homepage: http://www.logilab.org/Project/name/pylint
****************************************************************************

看起来就是一个静态代码检测工具,与Eclipse搭配则能很快的找出程序错误并显示相应的提示信息
这就是我的python编程环境,但在使用中有如下不如意,一般我更喜欢进行Tab风格代码,但在Eclipse中总是会提示相应的警告说我在用Tab替代Space,而且几乎每行都是,看着很不爽,找了许久也没找到如何设置取消这个东东,或者不显示类似警告,今天看了看似乎在Pylint相对应的社之中ignore相应的警告即可,那么是不是所有的警告都不重要呢?

接下来再推荐一个关于正则表达式的工具,敬请期待……

请依照版权声明(Copyright ©)中所述分享本站资源,给我留言


BloggerAdsShareapic 替自已加薪

-----------------------------------------------------
View my FriendFeed

把此篇文章推广到挖客


查看邮件也能赚钱 Iphone3G B 005 468x60


blog comments powered by Disqus