[Documentation] [TitleIndex] [WordIndex

This is my hydro API. It's new and awesome


This package provides definitions and methods that enable simple colouring for output on the console without having to remember all the specific keycodes that shells use.

Colour Definitions

The current list of supported colour definitions:


Freeform Style

Simply intersperse colour definitions throughout your printing statements, e.g.

   1    import rocon_console.console as console
   2    print(console.cyan + "    Name" + console.reset + ": " + console.yellow + "Dude" + console.reset)

Logging Style

   1    import rocon_console.console as console
   2    logdebug("the ingredients of beer are interesting, but not important to the consumer")
   3    loginfo("the name of a beer is useful information")
   4    logwarn("this is a lite beer")
   5    logerror("this is a budweiser")
   6    logfatal("this is mereley a cider")

2024-06-15 13:00