- Mac下升级Python到3.5.2
bash update
#在bash中打开
~/.bash_profile
#在zsh中打开
~/.zshrc
然后分别在文件的最后复制以下即可(前提是根据默认设置已经好安装Python3.5)
alias python='/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5'
NSString *str = [NSString new];
let str = "hello world";