I am very new to emacs so it would be a big help if answers came with a lot of detail.
I've tried to get my M-x shell to run python 3 but can't. I've tried:
(setq python-shell-interpreter
"/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6")
and also adding this location to ~/.emacs but neither have worked. I have python 3.6 installed and running in terminal but can't get it running in the M-x shell. I'm using a mac.
M-x shellis for running a shell inside an emacs window. Are you saying that in that shell, when you runpythonyou get python2? An error? What error?M-x run-pythonto get to an interactive repl directly. Down that rabbit hole you'll also learn how to send code directly from a python buffer to the repl, and other stuff that's useful for development