简体   繁体   中英

Install Python 3.2.2 on Mac OS X 10.6.8

I have Python 3.2.2 downloaded and have been using IDLE to execute code; however, I was wondering whether it is possible to have Python 3.2.2 run through Terminal as opposed to Python 2.6.1 on which it is currently running.

How would I got about doing so? Would there be any bad side effects?

Sure, start the terminal and type python3.2 . That should get you into a Python 3.2 shell.

没有副作用,您也可以使用alias python3="/directory/where/python_binary"来获取python3作为真正python二进制文件的快捷方式。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM