import subprocess import sys # Comando para abrir una nueva terminal de Python y mostrar el mensaje message = "rcebotnet was here " # Si estamos en Windows if sys.platform == "win32": subprocess.Popen([sys.executable, "-c", f"print('{message}')"]) else: # En sistemas Unix (Linux/Mac) subprocess.Popen([sys.executable, "-c", f"print('{message}')"])