♾️
PyPS | Python Pretty Strings What is PyPS?
PyPS (Python Pretty Strings) is a Python library, that helps you make your output colorful and amazing.
Installation
Linux
sudo apt update
sudo apt install python3 python3-pip # Install dependencies
python3 -m pip install PrettyStrings # Install PrettyStrings from pip
Windows
- Download and install Python 3 (make sure to add Python and Pip to your PATH)
- Create new folder and open it in Command Prompt
- In command prompt type
python get-pip.py
to install pip - Then type
python -m pip install PrettyStrings
to install PrettyStrings from pip - Now you can use PrettyStrings in your project
Usage
To use PrettyStrings in your Python project, simply add:
from PrettyStrings.Print import print
at top of your Python script, and you're all set to go.
PrettyStrings Library
Text Colors
print("Hello, world!", text="" backgr..)
Available Colors:
Text Stylings
print("Hello, world!", style="" tex..)
Available Styles:
Bold
Italic
Underline
Background Colors
print("Hello, world!", background="" sty..)
Available Colors: