code: def getName(self):
  		
  
  		name=self.findattr('name')
  		if not name:
  			name="_directinput_"
  			if self.classname().lower()=="line":
  				name+="."+str(self).replace(" ","_").lower()
  		else:
  			name=name.replace('.txt','')
  
  		while name.startswith("."):
  			name=name[1:]
  
  		return name
docs: Return a Name string for this object.