Uninstalling Python 2.7 on OSX 10.8.4 -


main problem: i've installed python3.3 - if run in terminal: python script.py (where script.py coded in version 3.3) i'll python 2.7 output e.g.:

print('string',var) --> ('string',var)  instead of: print('string, var) --> string var  

how can uninstall python 2.7 macport (without reading through shell commands (time restriction)?) this 1 didn't worked.

second (smaller) problem: if type in terminal python, i'll python2.7 idle output. how can change this, command python refers python3.3 (instead of using command python3)

(about me: python2.7 novice, absolutely no shell knowledge, os x 10.8.4 user, xcode , macport installed.)

bad idea uninstall pre installed version of python. better idea alias python whatever want in bashrc/bash_profile.

in home directory, aka ~, might have .bash_profile(if don't have one, can make it). can edit favorite text editor , add alias python='python3' or whatever want called whenever type python bash.

(fwiw homebrew new hotness, might want well)


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -