Файловый менеджер - Редактировать - /opt/dedrads/python/header.py
Ðазад
#!/usr/lib/rads/venv/bin/python3 """Prints a header in blue with the header block being a string""" import sys from rads.color import blue def print_header(string, char='~'): if isinstance(string, str) and isinstance(char, str): holder = 80 - len(string) spacer = int(holder / 2 / (len(char))) * char header = f"{spacer} {string} {spacer}\n" blue(header) else: sys.exit('Usage: header.print_header("Header")')
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка