Display TTY  1
Customise your terminal's output
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
1"""
2# +==== BEGIN display_tty =================+
3# LOGO:
4# ..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
5# .@...........................#@
6# @############################.@
7# @...........................@.@
8# @..#######################..@.@
9# @.#########################.@.@
10# @.##>_#####################.@.@
11# @.#########################.@.@
12# @.#########################.@.@
13# @.#########################.@.@
14# @.#########################.@.@
15# @..#######################..@.@
16# @...........................@.@
17# @..+----+______________.....@.@
18# @..+....+______________+....@.@
19# @..+----+...................@.@
20# @...........................@.#
21# @@@@@@@@@@@@@@@@@@@@@@@@@@@@@#.
22# /STOP
23# PROJECT: display_tty
24# FILE: __main__.py
25# CREATION DATE: 06-11-2025
26# LAST Modified: 12:20:11 06-11-2025
27# DESCRIPTION:
28# A module that allows you to display text with a few boilers (i.e. put your text in a square for titles). It also allows to log to the terminal by wrapping around the logging library.
29# /STOP
30# COPYRIGHT: (c) Henry Letellier
31# PURPOSE: File in charge of allowing the module to run as a standalone python program.
32# // AR
33# +==== END display_tty =================+
34"""
35try:
36 from src import Disp, TOML_CONF
37except ImportError:
38 from display_tty import Disp, TOML_CONF
39
40
41if __name__ == "__main__":
42 DI = Disp(
43 toml_content=TOML_CONF,
44 save_to_file=False,
45 file_name="test_run.tmp",
46 file_descriptor=None
47 )
48 DI.test_the_class()