When a final formal parameter of the form **name is present, it receives a dictionary containing all keyword arguments except for those corresponding to a formal parameter. This may be combined with a formal parameter of the form *name (described in the next subsection) which receives a tuple contai ...
  • 16:03
  • 浏览 (162)
  • 评论 (1)
2008-06-17

使用python求素数的快捷方法

关键字: python
lim=int(raw_input("Please put a range:")) for n in range(2,lim): for x in range(2,n): if n%x == 0: break else: print n, 'is a prime number'
2008-06-16

使用java zip 压缩文件目录

关键字: java
@Test public void testPackageContent() { try { FileOutputStream f = new FileOutputStream(BASE_PATH + "/../" + packageName + ".zip"); CheckedOutputStream csum = new CheckedOutputStream(f, new Adler32());//Adler32 is faster ...
2008-06-11

敏捷软件开发笔记(一)

关键字: 敏捷 加班
敏捷项目不是50米短跑,而是马拉松长跑。团队不是以全速启动并试图在项目开发期间维持那个速度;相反,他们一块是但是可以持续的速度进行。跑得过快会导致团队精力耗尽、出现短期行为,以至于崩溃。敏捷团队会测量自己的数度。他们不允许自己过于疲惫。他们不会借用明天的精力来在今天多完成一点工作。他们工作在一个可以使整个项目开发期间保持高质量标准的速度上。 极限编程者不能容忍重复的代码,无论在哪里发现重复的代码,他们都会消灭它们
Ivan Li
搜索本博客
最近加入圈子
存档
最新评论