parameters: (self, container, script_id, script_params,
                              script_content)
return_statement: return script
docstring: Creates a Python script `script_id` in the given `container`, with
      `script_params` and `script_content`.
  
      If the container already contains an object with id `script_id`, this
      object is removed first.
docstring_summary: Creates a Python script `script_id` in the given `container`, with
      `script_params` and `script_content`.
docstring_tokens: Creates a Python script script_id in the given container with script_params and script_content .
function: def _createZODBPythonScript(self, container, script_id, script_params,
                              script_content):
      """Creates a Python script `script_id` in the given `container`, with
      `script_params` and `script_content`.
  
      If the container already contains an object with id `script_id`, this
      object is removed first.
      """
      if script_id in container.objectIds():
        container.manage_delObjects([script_id])
  
      container.manage_addProduct['PythonScripts']\
                    .manage_addPythonScript(id = script_id)
      script = container._getOb(script_id)
      script.ZPythonScript_edit(script_params, script_content)
      container.portal_url.getPortalObject().changeSkin(None)
      return script
function_tokens: def _createZODBPythonScript ( self , container , script_id , script_params , script_content ) : if script_id in container . objectIds ( ) : container . manage_delObjects ( [ script_id ] ) container . manage_addProduct [ 'PythonScripts' ] . manage_addPythonScript ( id = script_id ) script = container . _getOb ( script_id ) script . ZPythonScript_edit ( script_params , script_content ) container . portal_url . getPortalObject ( ) . changeSkin ( None ) return script