Gedit / Python Console / External Tools / Python code execution?

I have recently switched to Manjaro Gnome and I am learning Python as a first year computer science student. In gedit, I have enabled the Python Console and External Tool addins.

How do I set up gedit so that I can execute Python code saved in a .py file and have the results appear in the Python Console, which is shown as a window at the bottom of gedit ?

I have the impression that something needs to be configured in the External Tool addin to make this work, but I am not exactly sure what needs to be done. Thanks.