Skip to content

say_in_a_box()

bebe edited this page Jul 12, 2026 · 2 revisions

say_in_a_box() lets the program say stuff in a box.

Parameters

  • message (Any): the message to say
  • title (Any): the title of the box
  • box_color (str): the color of the box

Source

from rich.panel import Panel

def say_in_a_box(message, title, box_color):
    """
    say stuff, but in a box

    Args:
        message (Any): the message to say
        title (Any): the title of the box
        box_color (str): the color of the box
    """

    print(
        Panel(
           renderable=message,
           title=title,
           border_style=box_color

        )
    )

The PengLang Wiki: Penguin-made

🏠 penguin housing
🐧🧑‍💻 the main one
🐧 penguins
📃 command (meaning)
🐧🏙️ penguin city
🏭📃 function factory
🐟 penguin's food
🐟🧑‍💻 penguin's food's language
🧑‍💻➕ PengLang's additions
🧮 math
🪟🪟 windows. many.
🪟 a single window
🏘️ too many penguins housing
💥 errors
🐧🧑‍💻⚒️ penglang program
🐧🐧🐧 penguin community
🐧🏆 penguin awards
🪙🪙 when you nick your nicks
💭🐧🧑‍💻 the penguin language is imaginary apparently
🧊 ice
📖 this thing
📖↔️ this thing's side
📃👇 the page called this page
📃👉 the page called that page
📃🌌 page that doesn't exist
💨 absolute nothing
🐟👮 the police of fish
🐧❓ what is that?
🐧🧂 what changed?
🐧⬇️ get penglang
🐧👥 penguin's friends

Clone this wiki locally