#!/usr/bin/env python3 END="\r\n" def prnt(str): print(str, end=END) prnt("\x1b[2J\x1b[1;1H\x1b[0mWelcome to testing 1.0"); prnt("This is using python. HA!"); prnt("Hello there!\x1b[0;1m") prnt("Sorry, we don't do terminal echo here.") x = input("Your name? ") prnt("\x1b[2J\x1b[1;1H\x1b[1;36mWe are now this color."); prnt("Hello there, {0}.".format(x)) prnt("\x1b[0m")