Added ability to import pyobjects within python code