def get_file(self):
        """
        Gets the file including name and payload.

        :returns: the part's name and payload.
        :rtype: tuple
        """
        return self.part.get_filename(), self.part.get_payload(decode=True)
def get_file(self):
        
        return self.part.get_filename(), self.part.get_payload(decode=True)
def get_file ( self ) : return self . part . get_filename ( ) , self . part . get_payload ( decode = True )
Gets the file including name and payload.

        :returns: the part's name and payload.
        :rtype: tuple
Gets the file including name and payload .