Jython v.s. Groovy

2008-09-03 06:59

A commenter reminds me on Groovy (It was mentioned as part of Grails). His comment makes me curious on what’s the latest on Groovy and how it is stacking up to Jython. ... [阅读全文]

What’s New in Python 2.6

2008-09-02 17:12

This article explains the new features in Python 2.6 scheduled for release on October 1 2008. The major theme of Python 2.6 is preparing the migration path to Python 3.0, a major redesign of the language. Some significant new packages have been added to the standard library, such as the multiproce... [阅读全文]

Three great python video-lectures

2008-09-01 23:08

Maybe these are old news for a lot of people in the community, but I just found these three great lectures about Python over at google code university ... [阅读全文]

PHP, JavaScript, Ruby, Perl, Python, and Tcl Today: The State of the Scripting Universe

2008-09-01 15:18

Three years ago, Lynn Greiner interviewed the big cheeses responsible for the popular scripting languages PHP, Perl, Tcl, Python, Ruby and JavaScript to find out where they believed the languages were headed. In this follow-up discussion, she asks these dynamic language luminaries what has changed ... [阅读全文]

我在珠海金山训练营的49天魔鬼训练(图)

2008-09-01 14:02

虽然下一阶段公司布置的都是Windows编程作业,但有了前三个星期的铺垫,自己还算是可以吃得消。这时的我们会学到老大们传授的编程经验之谈,什么文件的包含啊,什么代码要有三层架构啊…… 后半部分时间公司给我们安排了选修科目,汇编和Python。 … ... [阅读全文]

对初级软件开发者的一些建议

2008-09-01 10:20

学习的代价是非常小的,同时你会学到很多以后学习其他编程语言的编程技巧。从教学的角度考虑,VB.NET不是特别的令人讨厌的陋习,它简单有趣,让您在一周内就可以做出实用的程序。 另外一种语言选择是Python。这种语言和VB.NET有许多相似之处,有terser … ... [阅读全文]

PHP程序不适用大型系统的九大原因

2008-09-01 09:18

其他一些编程语言采用了这个标准,但是很奇怪的,PHP有它自己的一套完全不兼容的日期格式字符。在C中,“%j”表示一年中的当天,在PHP中他表示一个月中的当天。然而使事情更混乱的是:Smarty (一个很流行的PHP模版引擎)的strftime 函数和date_format 函数, … ... [阅读全文]

Introduction to generators in python

2008-09-01 07:46

Generators is a concept that was introduced in Pyethon at version 2.2, back then they were unidirectional that only allowed information to be passed out of the generator and not back into it, which limited their use to simple iterators and not much else. This was changed / enhanced in Python 2.5 wh... [阅读全文]

Google app engine - what I like and what I don’t like

2008-08-31 23:34

Playing with Google App Engine has been fun, but not without a few problems. ... [阅读全文]

简明Python 编程规范

2008-08-31 22:12

简明Python 编程规范 编码 所有的Python 脚本文件都应在文件头标上# -*- coding:utf-8 -*- 。设置编辑器,默认保存为utf-8 格式。 注释 业界普遍认同Python 的注释分为两种的概念,一种是由# 开头的“真正的”注释,另一种是docs. ... [阅读全文]

实习日记

2008-08-31 14:41

ARC工艺在亚微米光刻中的应用CIF和GDSII格式版图数据的直接转换C语言与Python语言混合编程的接口设计粗糙度对极紫外投影光刻掩模的影响光刻区缺陷管理光刻线宽精度控制的研究光学光刻中的离轴照明技术光掩模激光修补技术基于脚本语言Python的科学计算CAD … ... [阅读全文]

[转]简明Python 编程规范

2008-08-30 14:08

简明Python 编程规范编码 所有的Python 脚本文件都应在文件头标上# -*- coding:utf-8 -*- 。设置编辑器,默认保存为utf-8 格式。 注释 业界普遍认同Python 的注释分为两种的概念,一种是由# 开头的“真正的”注释,另一种是docstrings。 … ... [阅读全文]

[转]简明Python 编程规范

2008-08-30 14:08

简明Python 编程规范编码 所有的Python 脚本文件都应在文件头标上# -*- coding:utf-8 -*- 。设置编辑器,默认保存为utf-8 格式。 注释 业界普遍认同Python 的注释分为两种的概念,一种是由# 开头的“真正的”注释,另一种是docstrings。 … ... [阅读全文]

Regular Expression in Python

2008-08-30 13:32

How to learn Regular Expression in Python? You can follow the steps… ... [阅读全文]

linux编程好工具-gedit

2008-08-30 08:43

是的,它也有自动完成的功能,而且可以扩展,在”编辑”->”首选项”->”插件”,里面有个”片断”,试试就知道了,非常好的工具,它里面的自动完成是用tab键来完成的还有Python控制台,这个也非常棒,刚好现在我也在学习Python. shell输出也不错啊,插件打开后, … ... [阅读全文]

浅谈developer friendly

2008-08-30 03:34

这里有个体会:即使使用cakephp或django这些与rails类似的web框架,因为编程语言上的差异(php和python),都没有使用ruby on rails时那种惬意的感受,这只是个人看法。对developer而言,大概这便是friendly的体验。 说到DSL,再补充一点。 … ... [阅读全文]

跨越边界: 闭包

2008-08-29 10:31

自从Java 技术明显成为所有开发项目的最佳选择以来,编程前景得以改变。其他框架影响着Java 框架的构建方式,您从其他语言中学到的概念也可以影响Java 编程。您编写的Python(或Ruby、Smalltalk 等语言)代码可以改变编写Java 代码的方式。 … ... [阅读全文]

Python 百度百科

2008-08-29 08:28

Python在编程领域的占有率一直处于稳步上升之中,根据最新的数据,Python排名第六。前五名分别是Java、C、VB、PHP和C++. 作为一个很年轻的语言,Python的位置已经相当令人振奋了。随着微软将Python纳入.Net 平台,相信Python的将来会更加强劲发展。 … ... [阅读全文]

几个Unix下的小工具

2008-08-28 18:54

由于处理方式不同,很多windows下的文件内容到了Unix下面会跑出一堆莫名其妙的控制字符来,尤其在使用FTP传输文件的情况下,最容易出现这种问题,那么,用strings来删除控制字符无疑是一个好选择,我曾经计划用python来转,后来发现用strings不仅来得快, … ... [阅读全文]

让我们一起开放和分享

2008-08-28 16:46

也有很多人经常问我:怎么学习Python编程啊?我想,除了学习Python的基础知识,多在实际中进行应用外,最好能够学习了解一下Python的源代码,并尽可能参与开源软件活动当中去。这样的话,不仅可以从更深的层次理解概念,学习和借鉴现有的成果,同时,通过 … ... [阅读全文]