Python console

You can add a Python console to the bottom pane, allowing you to test Python scripts without leaving gedit. To enable the Python console, select gedit ▸ Preferences ▸ Plugins ▸ Python Console.

Once the Python console is enabled, you can open it by selecting View ▸ Bottom Panel.

If you have also enabled the Embeded Terminal plugin, the Python Console will appear as a separate tab in the bottom pane.