
激活码
| 类型 | type | 创建方法 |
| 数字 | int | a = 1 |
| 字符串 | str | a = ("asv") 注:多个元素就是元组 |
| 元组 | tuple | b = ("asv","aed",21) |
| 列表(有序) | list | c = ["asv","aed",21] |
| 字典(无序) | dict | d ={"v1":"bb","v2":"b3"} |
#!/bin/bash#install python3.6#修复bugyum -y install readline-develwget https://www.python.org/ftp/python/3.6.1/Python-3.6.1rc1.tgzmkdir /usr/local/python3tar -xvf Python-3.6.1rc1.tgzcd Python-3.6.1rc1./configure --prefix=/usr/local/python3makemake installln -s /usr/local/python3/bin/python3 /usr/bin/echo "python.2 write command----python"python -Vecho "python.2 write command----python3"python3 -V再建立新版本python的链接ln -s /usr/local/python3/bin/python3 /usr/bin/python 这个时候输入python 就会显示出python的新版本信息原文:http://www.cnblogs.com/Gavinkwok/p/6793437.html