c4dynamics.utils.cprint.cprint#
- c4dynamics.utils.cprint.cprint(txt='', color='white', end='\n')[source]#
Printing colored text in the console.
- Parameters:
txt (str) – The text to be printed.
color (str, optional) – The color of the text. Default is ‘white’.
Example
C4DYNAMICS>>> carr = ['y', 'w', 'r', 'm', 'c', 'g', 'k', 'b'] >>> for c in carr: ... c4d.cprint('C4DYNAMICS', c)
C4DYNAMICS
C4DYNAMICS
C4DYNAMICS
C4DYNAMICS
C4DYNAMICS
C4DYNAMICS
C4DYNAMICS