File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ import atexit # For playing a sound when the program finishes
2+ import os # For running a command in the terminal
3+ import pandas as pd # For data manipulation
4+ import platform # For getting the operating system name
5+ from colorama import Style # For coloring the terminal
6+
7+ # Macros:
8+ class BackgroundColors : # Colors for the terminal
9+ CYAN = "\033 [96m" # Cyan
10+ GREEN = "\033 [92m" # Green
11+ YELLOW = "\033 [93m" # Yellow
12+ RED = "\033 [91m" # Red
13+ BOLD = "\033 [1m" # Bold
14+ UNDERLINE = "\033 [4m" # Underline
15+ CLEAR_TERMINAL = "\033 [H\033 [J" # Clear the terminal
16+
17+ # Execution Constants:
18+ VERBOSE = False # Set to True to output verbose messages
19+
20+ # Sound Constants:
21+ SOUND_COMMANDS = {"Darwin" : "afplay" , "Linux" : "aplay" , "Windows" : "start" } # The commands to play a sound for each operating system
22+ SOUND_FILE = "./.assets/Sounds/NotificationSound.wav" # The path to the sound file
23+
24+ # RUN_FUNCTIONS:
25+ RUN_FUNCTIONS = {
26+ "Play Sound" : True , # Set to True to play a sound when the program finishes
27+ }
28+
29+ def main ():
30+ """
31+ Main function.
32+
33+ :return: None
34+ """
35+
36+ pass
37+
38+ if __name__ == "__main__" :
39+ """
40+ This is the standard boilerplate that calls the main() function.
41+
42+ :return: None
43+ """
44+
45+ main () # Call the main function
You can’t perform that action at this time.
0 commit comments