def python(self, cmd):
        """Execute a python script using the virtual environment python."""
        python_bin = self.cmd_path('python')
        cmd = '{0} {1}'.format(python_bin, cmd)
        return self._execute(cmd)