Esempio n. 1
0
	def __init__(self, text, color=None, background=None,
				bold=None, dark=None, underline=None, blink=None, reverse=None, concealed=None):
		self.rawText = str(text)
		self.color = color
		self.background = background
		self.bold = bold
		self.dark = dark
		self.underline = underline
		self.blink = blink
		self.reverse = reverse
		self.concealed = concealed
		
		self._termcolorAttrs = getArgs(excludeList=["text", "color", "background"])
		self.coloredText = self._generateColored()
		self.data = self.rawText
Esempio n. 2
0
			def test(self, a, b, c, d, *args, **kwargs):
				return getArgs(*getArgs_args, **getArgs_kwargs)