Programmatic Production Access
To Programmatically Edit Productions (interfaces) you can use a combination of the interoperability apis and SQL queries.
Current Namespace
At a high level, it is important to know the namespace and production you are working in at the moment.
// Object script
// The active namespace is stored in this variable
$$$NAMESPACE
// Print namespace
Write $$$NAMESPACE
# Python
import iris
# The active namespace is returned from this method
iris.utils._OriginalNamespace()
# Print namespace
print(iris.utils._OriginalNamespace())
>>> DEMONSTRATION
.png)

These tests run fine in Studio.