摘要:
来源:http://blog.ubuntusoft.com/ubuntu-update-source.html#.Uq_PP9KBmxh其它版本的修改方式相识。尽量使用原生工具来修改(见下方)。手动修改方式:163源 1 deb http://mirrors.163.com/ubuntu/ precise main restricted 2 deb-src http://mirrors.163.com/ubuntu/ precise main restricted 3 deb http://mirrors.163.com/ubuntu/ precise-updates main restr.. 阅读全文
摘要:
python中的and和or4.6. and 和 or 的特殊性质在Python 中,and 和 or 执行布尔逻辑演算,如你所期待的一样,但是它们并不返回布尔值;而是,返回它们实际进行比较的值之一。例 4.15. and 介绍>>> 'a' and 'b''b'>>> '' and 'b'''>>> 'a' and 'b' and 'c''c'使用 and 时,在布尔上下文中从左到 阅读全文