What Text Colors Mean In Coding

Intro

What color symbols mean in PYTHON!!
Let's run through some of the colors of the text.

Red

Red: Starts with a # sign. Means will not be active in the code. Like this:
#racer
Config.define("game", "rbnote", int, 0, text = _("Rock Band Version"), options = {0: _("Regular"), 1: _("Beta")}) #racer

The #racer will be in red text but will not be used as part of the code. He put it there for other coders to show he did it.

Green

Green: Only comes after "quotes". All quotes stays green until quote is closed. Means Text. Will apear as text in game
#racer
Config.define("game", "rbnote", int, 0, text = _("Rock Band Version"), options = {0: _("Regular"), 1: _("Beta")}) #racer
The quotes of Rock Band Version appear in the options pannel. If you remember your options you pick which version you want.

Yellow

Yellow: Only appears for certain words. Means your importing or doing other stuff. Acts like normal black text.

Purple

Purple: Only activates at the text False and True with the first letter being capitalized. Does not need explanation.

page_revision: 3, last_edited: 1215114363|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License