Opening other Python 3 files using tkinter
Question: I am currently working on making a program using tkinter that when pressing a
button it opens the Python program, however I am having some problems with it.
I have tried using `os.system('filename.py')`. That opens the file, but then
crashes the GUI, making the user have to restart the GUI. I have also tried
importing it as a module but that just does the same as when using
`os.system`.

Can anyone possibly help me open a Python file in a completely new
window/terminal?


Answer: The problem is filename.py will not be recognised by your os. Instead of that
use:

    
    
    os.system('python filename.py')
    

This will successfully open your python file inside your GUI Hope this helps

