def code():
    import os

    base_dir = os.path.dirname(__file__)
    code_dir = os.path.join(base_dir, "code")

    print("Code directory path:")
    print(code_dir)

    if not os.path.exists(code_dir):
        print("code/ directory not found.")
        return

    print("\nAvailable folders:")
    for name in os.listdir(code_dir):
        path = os.path.join(code_dir, name)
        if os.path.isdir(path) and not name.startswith("__"):
            print(f"- {name}")