import os print("[OS] Started up the kernel") print("[Notice] If you have no internet you can barely use the os. run bash for more features btw, itll put you in linux") print("[AutoLogin] Logged into user root") os.system("mkdir /tmp/pyos > /dev/null") os.system("echo [PyOS] We are the best os! > /tmp/pyos/readme.txt") def hello(): print("Hello! You've activated the hello command.") def help_command(): print("This is the help command. Use --help for assistance.") def bash_command(): os.system("bash bash.sh") def custom_terminal(): commands = { "hello": hello, "help": help_command, "bash": bash_command } print("Welcome to your PyOS PC! Type 'exit' to quit.") while True: command = input("root@python $").strip() if command == "exit": break elif command in commands: commands[command]() else: print(f"Unknown command: {command}") if __name__ == "__main__": custom_terminal()