Display TTY
1
Customise your terminal's output
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
1
7
8
"""
9
@file __main__.py
10
@brief Entry point for the display_tty library when run as a script.
11
@details This script initializes the Disp class with a TOML configuration and runs a test method to validate its functionality. The output is not saved to a file by default.
12
"""
13
14
try
:
15
from
src
import
Disp, TOML_CONF
16
except
ImportError:
17
from
display_tty
import
Disp, TOML_CONF
18
19
20
if
__name__ ==
"__main__"
:
21
DI =
Disp
(
22
toml_content=TOML_CONF,
23
save_to_file=
False
,
24
file_name=
"test_run.tmp"
,
25
file_descriptor=
None
26
)
27
DI.test_the_class()
display_tty.src.my_disp.Disp
Definition
my_disp.py:43
display_tty
__main__.py
Generated on Tue Apr 1 2025 05:07:31 for Display TTY by
1.12.0