◐ Shell
clean mode source ↗

Message 120789 - Python tracker

This is an editor rather than Python problem. Are you using the IDLE editor or something else. Which version of Windows?

Orange and purple are IDLE's default for keywords and built-in names. But running 3.1.2 under XP, I have no problem as you describe, either after running or loading.