We've released a new multi app panel called the Shotgun Python Console. The app is designed to be used in DCCs that have access to a python interpreter but have little or no support for interacting with it. Here's a look at the console running in the Shotgun Engine for Photoshop CC and being used to load and manipulate an image via Python:
The console is based on the open source PyQtTerm project developed by Michael Kessler. For more screenshots and a complete look at the features of the Shotgun Python Console, please check out the docs.
As always, please check it out and send any feedback to firstname.lastname@example.org. Enjoy!