newguy142 wrote:then I tried to run the Main.py file by allowing it to execute as a program and running it in my terminal but all it does is bring up the terminal for a fraction of a second and then terminal exits and nothing happens. I'm fairly new to Linux so is there something I'm missing?
Start the terminal, go into the folder where Main.py resides, and then type ./Main.py (or maybe it is ./main.py, letter case matters in Linux) in the terminal. Main.py will most likely output some error text, but this time the terminal window will not disappear. Maybe the text will be enough for you to understand what is wrong, and you can copy/paste the text here if you don't understand it.