开始用python3

开始用python3,忘记codecs

从python官网下载安装包直接安装,mac会配置好python3的环境变量,测试是否安装成功在命令行输入:
python3

设置终端的python指令,直接链接python3

vim ~/.bash_profile:
alias python='python3'

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.