from pymol.cgo import *
from pymol import cmd
spherelist = [COLOR, 0.1, 1.0, 0.0, SPHERE, 30.304, 30.407, 30.531, 0.3,
    COLOR, 1.0, 0.0, 0.0, SPHERE, 30.25, 30.25, 30.25, 0.2]
Draw a colored sphere from cartesian coordinates in pymol