YoungGu

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2016年2月12日

摘要: 1. """ 可以插入多行文字. print """ abC 123' 456''" #单引号, 双引号, 也没有关系 """ 2. 使用中文 utf-8编码 #coding=utf-8 #处理中文 x = "中文".decode('utf-8') y = u"中文" print len(x) # 阅读全文
posted @ 2016-02-12 16:06 YoungGu 阅读(292) 评论(0) 推荐(0) 编辑

2016年2月10日

摘要: 1. 有道词典 https://github.com/justzx2011/openyoudao 阅读全文
posted @ 2016-02-10 18:46 YoungGu 阅读(397) 评论(0) 推荐(0) 编辑

摘要: 1. 更新軟件源 sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak #備份 sudo vi /etc/apt/sources.list /etc/apt/sources.list 文件內容 # # deb cdrom:[Debian GN 阅读全文
posted @ 2016-02-10 18:28 YoungGu 阅读(198) 评论(0) 推荐(0) 编辑