Display TTY  1
Customise your terminal's output
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
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
14try:
15 from src import Disp, TOML_CONF
16except ImportError:
17 from display_tty import Disp, TOML_CONF
18
19
20if __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()