- 博客(7)
- 收藏
- 关注
Python之urllib使用
>>> import urllib >>> url = r"http://www.ssylgc.com/images/index1.swf" >>> path = r"c:/index1.swf" >>> data = urllib.urlretrieve(url, path) &
2009-06-18 08:10:43 86
原创 【面向对象回顾】理解java多态性
(一)相关类 class A { public String show(D obj){ return ("A and D"); } public String show(A obj){ return ("A and A"); } } class B extend...
2009-06-03 08:54:04 82
原创 Asynchronous innerHTML
A recent question on Stack Overflow posed a common question concerning DOM insertion and specifically the dire performance of IE6 when using innerHTML to parse a large amount of HTML markup. Head over...
2009-06-02 10:39:40 75
原创 Fastest way to build an HTML string
You have a massive array of items that needs to be transformed into an HTML list without causing the user any grief. There are a couple common ways of doing this: Note: I’m not even going to bother c...
2009-06-02 10:28:41 61
原创 摘庄表伟博客一段话
[quote]“地图意识”非常重要。我一直以来的观点是,世界是一个整体,在这个巨大的世界之中,任何事物、任何知识,任何观点,都有其合理、自然的位置。理解这个世界的过程,就是逐步将需要了解的各种事物,在作为整体的一个世界中,找到其位置。了解这个位置的前后左右,相互关系,相互影响。这样的理解世界的学习方式,我认为是最为有效的。对于程序员而言,我推荐阅读《代码大全》,因为这是软件开发的世界地图。 在...
2009-06-01 23:01:38 130
原创 不可修改的list
[code="java"] Collections.unmodifiableList(configAttributes) [/code]
2009-06-01 17:39:09 244
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人