上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页
摘要: Defining the Encoding 阅读全文
posted @ 2017-01-19 12:24 KennyRom 阅读(311) 评论(0) 推荐(0)
摘要: Given a string of length one, return an integer representing the Unicode code point of the character when the argument is a unicode object, or the val 阅读全文
posted @ 2017-01-19 09:53 KennyRom 阅读(539) 评论(0) 推荐(0)
摘要: Collections is a high-performance container datatypes. defaultdict objects 众所周知,在Python中如果访问字典中不存在的键,会引发KeyError异常(JavaScript中如果对象中不存在某个属性,则返回undefine 阅读全文
posted @ 2017-01-19 09:43 KennyRom 阅读(331) 评论(0) 推荐(0)
摘要: 配置过安卓开发环境,改过bash_profile这个文件,最后不知怎么的只有cd命令能执行,我猜测可能修改bash_profile文件后没有保存 导致的 保存命令是: source .bash_profile 说下我的解决方法: 1,在命令行中输入: [cpp] view plain copy pr 阅读全文
posted @ 2017-01-18 22:25 KennyRom 阅读(3208) 评论(0) 推荐(0)
摘要: 1. Creating class The class has a documentation string, which can be accessed via ClassName.__doc__. Example: 2. access an attribute just like C++ 3. 阅读全文
posted @ 2017-01-18 17:30 KennyRom 阅读(188) 评论(0) 推荐(0)
摘要: Description Consider the AC circuit below. We will assume that the circuit is in steady-state. Thus, the voltage at nodes 1 and 2 are given by v1 = VS 阅读全文
posted @ 2017-01-17 22:30 KennyRom 阅读(439) 评论(0) 推荐(0)
摘要: #try...except... try: You do your operations here; ...................... except ExceptionI: If there is ExceptionI, then execute this block. except ExceptionII: If there is ExceptionII, ... 阅读全文
posted @ 2017-01-17 20:48 KennyRom 阅读(183) 评论(0) 推荐(0)
摘要: 1. time module 2. calendar module 阅读全文
posted @ 2017-01-17 17:41 KennyRom 阅读(201) 评论(0) 推荐(0)
摘要: 1. Basic 2. Accessing 3. delete 4. Built-in function 阅读全文
posted @ 2017-01-17 16:46 KennyRom 阅读(204) 评论(0) 推荐(0)
摘要: 1. Basic 2. accessing 3. Updating We can update a string with a variable. The variable can be a new string or some part of the old string and new stri 阅读全文
posted @ 2017-01-17 15:46 KennyRom 阅读(217) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页