#!/usr/bin/env python import sys # Primary prompt: (>>> ) in magenta sys.ps1 = '\033[1;35m>>>\033[0m ' # Secondary prompt: (... ) in red sys.ps2 = '\033[1;31m...\033[0m '