In the previous section we added two Time objects, but you also might want to add an integer to a Time object. The following is an alternative version...
分类:
其他好文 时间:
2014-10-03 00:43:13
阅读次数:
212
Phalcon之ODM 本文主要讲解如何使用phalcon连接mongo数据库...
分类:
移动开发 时间:
2014-10-03 00:21:53
阅读次数:
343
__str__ is a special method name, like __init__, that is supposed to return a string representation of an object.For example, here is a str method for...
分类:
其他好文 时间:
2014-10-02 23:16:43
阅读次数:
173
今天在看关于servlet的知识,像java程序都继承了object类一样,servlet程序都是servlet的子类,意思是,所有servlet程序都要继承于servlet(可继承的类有:GenericServlet,HttpServlet)。
在我写第一个servlet程序时,竟然不用写web.xml文件,只是在类的外面写了下面的一句话:
@WebServlet(name="servlet...
分类:
其他好文 时间:
2014-10-02 22:01:53
阅读次数:
257
// 1. StreamTokenizer的用法查阅API:java.lang.Object 继承者 java.io.StreamTokenizerStreamTokenizer 类获取输入流并将其分析为"标记"(Token)允许一次读取一个标记。分析过程由一个表和许多可以设置为各种状态的标...
分类:
编程语言 时间:
2014-10-02 18:47:53
阅读次数:
244
The init method is a special method that gets invoked when an object is instantiated. Its full name is __init__ (two underscore characters, followed b...
分类:
其他好文 时间:
2014-10-02 18:06:23
阅读次数:
142
Python is an object-oriented programing language, which means that it provides features that support object-oriented programming. It is easy to define...
分类:
其他好文 时间:
2014-10-02 17:44:13
阅读次数:
247
原文: 使用c#给outlook添加任务、发送邮件 c#在使用outlook提供的一些API时,需要将outlook相关的com引用到项目中。 具体方法就是用vs打开工程后,在工程上添加引用,在com选项卡上,选择Microsoft Outlook 12.0 Object Library,如果安装的...
分类:
其他好文 时间:
2014-10-02 10:02:52
阅读次数:
218
?代码: class?Chain(object):
????def?__init__(self,?path=‘‘):
????????self._path?=?path
?
????def?__getattr__(self,?path):
????????return?Chain(‘%s/%s‘?%?(self._...
分类:
编程语言 时间:
2014-10-02 09:17:32
阅读次数:
206
原文: 使用 C# 进行 Outlook 2007 编程 探讨如何使用 C# 编程语言生成 Outlook 识别的应用程序和 Outlook 外接程序。 请从"Add References"对话框访问"COM"选项卡,并选择"Microsoft Outlook 12.0 Object Library...
分类:
其他好文 时间:
2014-10-02 08:22:42
阅读次数:
233