mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-30 17:47:50 +00:00
Let's use the pythonic indenting, quoting and structure in general as specified in PEP 0257. Change-Id: Icd0b4fbd94dabd9a163ae3f6887b236e76c486ab
16 lines
282 B
Python
16 lines
282 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
gnpy.core.ansi_escapes
|
|
======================
|
|
|
|
A random subset of ANSI terminal escape codes for colored messages
|
|
"""
|
|
|
|
red = '\x1b[1;31;40m'
|
|
blue = '\x1b[1;34;40m'
|
|
cyan = '\x1b[1;36;40m'
|
|
yellow = '\x1b[1;33;40m'
|
|
reset = '\x1b[0m'
|