this is the source code for the cobrennium project import subprocess import winreg import shutil import os import webbrowser import ctypes import platform import random print("type'run code' to run your code and show code to show your code 'package text' to package your code in a text file you need to create the txt file first and package py to package it as a python file you need to make a py file first") outs = 1 user_name = "" # Initialize user_name to an empty string choice = input("Enter choice: ").strip().lower() print("This script has two functions and is meant to make running python scripts from the terminal easier and can also show your decompiled code (this script is still in beta and is just part of a big project)") print("to run the code press run code and to show your decompiled code type showcode") if choice == "run code": print("This script runs code in a dedicated terminal by the user. However, rather than a file, you just copy and paste your code. Never run malicious or dangerous scripts; we are not responsible for what you do.") print("Please paste your Python code below and type 'done' when finished:") code_lines = [] while True: line = input() if line.strip().lower() == 'done': break code_lines.append(line) code = "\n".join(code_lines) # Join all lines into a single string try: exec(code) print("Code executed successfully!") except Exception as e: print(f"Parts of the code don't work as so they: {e}") print("Execution complete.") elif choice == "show code": user_input = input("insert code ") print("showing,", user_input + "!") elif choice == "package text": print("Enter your code. Type 'END' in all caps lock on a new line to finish.") user_code_lines = [] while True: line = input() if line.strip().upper() == 'END': break user_code_lines.append(line) file_name = input("Enter the desired filename (e.g., my_code.txt): ") if not file_name.endswith(".txt"): file_name += ".txt" try: with open(file_name, 'w') as f: f.write('\n'.join(user_code_lines)) print(f"Your code has been saved to '{file_name}' successfully.") except IOError as e: print(f"Error saving file: {e}") elif choice == "package py": print("Enter your code. Type 'END' in all caps lock on a new line to finish.") user_code_lines = [] while True: line = input() if line.strip().upper() == 'END': break user_code_lines.append(line) file_name = input("Enter the desired filename (e.g., my_code.py): ") if not file_name.endswith(".py"): file_name += ".py" try: with open(file_name, 'w') as f: f.write('\n'.join(user_code_lines)) print(f"Your code has been saved to '{file_name}' successfully.") except IOError as e: print(f"Error saving file: {e}") else: print("Invalid choice. Please enter 'run code' or 'show code'.") # thisisadevelopertag # developers # haha # freethewholeentireinternetfromthis print("this script is by scriptcobra.com") input("Press Enter to exit...") # Used to make the script not end immediately