parameters: (self, scriptname)
return_statement: return script_path.text()
docstring: Look up the script at scriptname within this plugin.
docstring_summary: Look up the script at scriptname within this plugin.
docstring_tokens: Look up the script at scriptname within this plugin .
function: def get_script_text(self, scriptname):
          """Look up the script at scriptname within this plugin."""
          if not self.location.isdir():
              return self.location.text()
              
          script_path = self.location / scriptname
          if not script_path.exists():
              return None
          
          return script_path.text()
function_tokens: def get_script_text ( self , scriptname ) : if not self . location . isdir ( ) : return self . location . text ( ) script_path = self . location / scriptname if not script_path . exists ( ) : return None return script_path . text ( )