python
流年ban夏
这个作者很懒,什么都没留下…
展开
-
python数据类型详解
1、字符串 1.1、如何在Python中使用字符串 a、使用单引号(‘) 用单引号括起来表示字符串,例如: str=’this is string’; print str;b、使用双引号(“) 双引号中的字符串与单引号中的字符串用法完全相同,例如: str=”this is string”; print str;c、使用三引号(”’) 利用三引号,表示多行的字符串,可以在三引号中自原创 2017-05-04 21:38:19 · 591 阅读 · 0 评论 -
Ubuntu上安装Python 3.6
Python发布了新版本 Python 3.6.0,由于暂时不能使用 apt-get 的方式安装 Python 3.6,所以还是直接编译源码安装吧。官网上提供了 Mac 和 Windows 上的安装包和 Linux 上安装需要的源码。 https://www.python.org/downloads/release/python-360/ 安装wget https://www.python.or原创 2017-06-17 19:48:03 · 5761 阅读 · 0 评论