SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
script.text Namespace Reference

Text styling functions. More...

Functions

str error (str text)
 Formats text as an error.
 
str underline (str text)
 Formats text as underlined.
 
str header (str text)
 Formats text as a header.
 
str warning (str text)
 Formats text as a warning.
 
str yellow (str text)
 Formats text to be yellow.
 
str important (str text)
 Formats text as important.
 
str really_important (str text)
 Formats text as really important.
 
str green (str text)
 Formats text to be green.
 
str red (str text)
 Formats text to be red.
 

Detailed Description

Text styling functions.

Function Documentation

◆ error()

str script.text.error ( str  text)

Formats text as an error.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 4 of file text.py.

◆ green()

str script.text.green ( str  text)

Formats text to be green.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 88 of file text.py.

◆ header()

str script.text.header ( str  text)

Formats text as a header.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 28 of file text.py.

◆ important()

str script.text.important ( str  text)

Formats text as important.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 64 of file text.py.

◆ really_important()

str script.text.really_important ( str  text)

Formats text as really important.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 76 of file text.py.

◆ red()

str script.text.red ( str  text)

Formats text to be red.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 100 of file text.py.

◆ underline()

str script.text.underline ( str  text)

Formats text as underlined.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 16 of file text.py.

◆ warning()

str script.text.warning ( str  text)

Formats text as a warning.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 40 of file text.py.

◆ yellow()

str script.text.yellow ( str  text)

Formats text to be yellow.

Args: text (str): The text to format

Returns: str: Formatted Text

Definition at line 52 of file text.py.