View Full Version : How do I get emacs to use python 3.0?

January 28th, 2009, 04:47 PM
I installed python 3.0, but if I press C-c C-c in a buffer it still evaluates it using python 2.x. Anyone know how I get it to use python 3.0? Putting #!/usr/bin/python3 at the top of the file didn't help.

January 28th, 2009, 07:21 PM
First start python mode: M-x python-mode [enter]. Then customize the python-python-command variable: M-x customize-variable [enter] python-python-command [enter].