INNER CODE UNIT · Python

clear_screen

rohitcoder/hawk-eye · hawk_scanner/main.py:19

def clear_screen():
    os.system('cls' if os.name == 'nt' else 'clear')


clear_screen()

console = Console()

def load_command_module(command):
    try:
        module = importlib.import_module(f"hawk_scanner.commands.{command}")
        return module
    except Exception as e:
        print(f"Command '{command}' is not supported. {e}")
        sys.exit(1)


def execute_command(command, args):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…