为Python加入默认模块搜索路径方法一:函数加入1) import sys2)
查看sys.path3)
加入sys.path.append("c:\\")方法二:改动环境变量windows用户能够改动系统环境变量PYTHONPATH方法三:添加.pth文件,推荐!在site-packages加入...
分类:
编程语言 时间:
2014-05-26 21:30:47
阅读次数:
333
Assert为静态方法直接调用即可junit注解@Test
:测试该方法@Ignore:忽略该方法@Before:测试每个方法前调用该方法(可以用来打开数据库)@After:测试每个方法后调用该方法@BeforeClass:在调用junit类之前调用该方法(如果要测试的方法都需要连接数据库,可以用该...
分类:
其他好文 时间:
2014-05-26 14:26:27
阅读次数:
280
报错详情:Failure to transfer
com.thoughtworks.xstream:xstream:pom:1.3.1 from
http://repo.maven.apache.org/maven2 was cached in the local repository, resol...
分类:
其他好文 时间:
2014-05-26 13:27:05
阅读次数:
2261
Tough core Java interview questions and
answersWhat is tough core java interview question ? Why do people look for tough
Java questions before going f...
分类:
编程语言 时间:
2014-05-26 12:41:29
阅读次数:
371
这两个关键词,Insus.NET刚开始学习jQuery时,也被它弄得不好理解。现用得多了,运行与理解也不难了。
查了英文词典append的意思是“添加,附加”; 而后者appendTo意思是“
添加至,附加至”。在下面两篇中,均可以看到这两个方法的应用:《文本框下面有两个铵钮,点就加点减就减》htt...
分类:
移动开发 时间:
2014-05-26 11:29:44
阅读次数:
250
Here are some tips to guide you while shopping
discount LV bags online. Look at the rack bag. Before you go out and buy
handbags online, it is good to...
分类:
其他好文 时间:
2014-05-26 10:26:29
阅读次数:
279
Given a linked list and a value x, partition it
such that all nodes less than x come before nodes greater than or equal to x.You
should preserve the o...
分类:
其他好文 时间:
2014-05-26 09:35:28
阅读次数:
266
JUnit 4 使用 Java 5 中的注解(annotation),以下是JUnit 4
常用的几个 annotation
介绍@Before:初始化方法@After:释放资源@Test:测试方法,在这里可以测试期望异常和超时时间@Ignore:忽略的测试方法@BeforeClass:针对所有测试...
分类:
编程语言 时间:
2014-05-26 09:32:04
阅读次数:
302
Given a linked list, remove the nth node from
the end of list and return its head. For example, Given linked list:
1->2->3->4->5, and n = 2. After rem...
分类:
其他好文 时间:
2014-05-26 09:08:23
阅读次数:
262
It seems like the year of 2013 came only yesterday. Do you know a curious fact? The year of 2013 is the first year after the old 1987 with only distinct digits.
Now you are suggested to solve the f...
分类:
其他好文 时间:
2014-05-24 21:52:34
阅读次数:
320