INNER CODE UNIT · Python

print_info

KnifeXRage/Godot-Secure · Godot Secure Scripts/universal/Godot Secure AES-256 Universal v6.py:117

def print_info(message):
    save_log(f"\n[INFO] -   {message}")
    print(f"\n{LogColors.OKBLUE} ℹ {LogColors.ENDC} {message}")
    
def print_operation(message):
    save_log(f"   [=>] {message}")
    print(f"{LogColors.HEADER}   =>{LogColors.ENDC} {message}")

def print_warning(message):
    save_log(f"\n[WARN] -   {message}")
    print(f"\n{LogColors.WARNING} ⚠ {LogColors.ENDC} {message}")

def get_actual_tk_max(tokenizer_h_path):
    if not os.path.exists(tokenizer_h_path):
        raise FileNotFoundError(f"Could not locate gdscript_tokenizer.h at: {tokenizer_h_path}")

    with open(tokenizer_h_path, "r", encoding="utf-8") as f:
        content = f.read()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…