I want to make a script that opens a different console with a script attatched to it that runs when the other console opens so you don't have everything happening in the same console window, I've tried doing this but it didn't seem to work
function = """
the script I want to execute in the other window
"""
os.system('start /wait cmd /c python %s' % (function))