def delete_note(self, note_id):
        # notes have to be trashed before deletion
        note, status = self.trash_note(note_id)
        if (status == -1):
            return note, status

        params = '/%s?auth=%s&email=%s' % (str(note_id), self.get_token(),
                                           self.username)
        request = Request(url=DATA_URL + params, method='DELETE')
        try:
            urllib2.urlopen(request)
        except IOError, e:
            return e, -1
        return {}, 0
method to permanently delete a note
dataset/ETHPy150Open cpbotha/nvpy/nvpy/simplenote.py/Simplenote.delete_note