Emacs: How to Color Words & Get Right Indentation

  • Thread starter Thread starter MaxManus
  • Start date Start date
MaxManus
Messages
268
Reaction score
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?
 
Technology news on Phys.org
M-x python-mode? (That's Alt+x and then type "python-mode")
 
Thanks:)
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...

Similar threads

Replies
11
Views
2K
Replies
23
Views
2K
Replies
8
Views
3K
Replies
1
Views
1K
Replies
8
Views
2K
Replies
9
Views
3K
Back
Top