...
- A-Z, a-z, 0-9, and the underscore _
- Avoid special characters like ä, É, ∂, §, ß, etc.
- If you want to separate a variables name use the underscore, e.g.
gravity_strength
. - Never use blanks, colons, or dots!
- Python is case-sensitive and there is a difference between
emitter_resolution
andEmitter_Resolution
.
Leading Spaces and Indents
Python code is structured through leading spaces and indents. For obvious reasons they are the most common source of syntax errors.
...