Setting up Xemacs to work in python mode

Managed to get python mode set up in Xemacs after some initial teething problems. Found the following links useful:

How to add the python mode to Xemacs

Where to get python-mode.el

Definitely in Python mode because I can execute a “Hello World” python script from within Xemacs but I don’t see any syntax highlighting yet. Any ideas?

Edit: Figured out the problem. I could get “syntax highlighting” to work from menu options. So figured it was just a setting in my init.el.

Added the line to my init.el and highlighting now works.

(require ‘font-lock)

Might play around with the highlighting later but this is good for now.