protocol 2501 with .txt instead of .py

fukurou

the supreme coder
ADMIN
Python:
import os

def call_add_DLC_skills(brain: Brain):
    for file in os.listdir('.'):
        if file.endswith('.txt') and 'DLC' in file:
            with open(file, 'r') as f:
                code = f.read()
                exec(code)
                exec(f"add_DLC_skills(brain)")

# Example usage
class Brain:
    pass

brain = Brain()
call_add_DLC_skills(brain)

shit inDS
 
Top