Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Emacs, Python-version

  1. Dec 10, 2008 #1
    Hello, does anyone know how to get Emacs to color words like "def, class, or, and" etc.. and to give me the right indentation, 4, when I press TAB?

    Is it just save as program_name.py?
  2. jcsd
  3. Dec 11, 2008 #2
    M-x python-mode? (That's Alt+x and then type "python-mode")
  4. Dec 12, 2008 #3
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Emacs, Python-version
  1. Emacs Lisp weirdness? (Replies: 6)

  2. Python installation (Replies: 10)