def _get_tasks_from_reminder_list(<EOL>self,<EOL>listName):
self.log.info('<STR_LIT>')<EOL>from subprocess import Popen, PIPE, STDOUT<EOL>applescript = """<STR_LIT>""" % locals()<EOL>cmd = "<STR_LIT:\n>".join(["<STR_LIT>", applescript, "<STR_LIT>"])<EOL>p = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)<EOL>stdout, stderr = p.communicate()<EOL>self.log.debug('<STR_LIT>' % locals())<EOL>print(stdout)<EOL>print()<EOL>newTasks = stdout.decode("<STR_LIT:utf-8>")<EOL>if len(stderr):<EOL><INDENT>self.log.error(stderr)<EOL>sys.exit(<NUM_LIT:0>)<EOL><DEDENT>self.log.info('<STR_LIT>')<EOL>print(newTasks)<EOL>return newTasks<EOL>
*get the tasks from a reminder app list as a string in taskpaper format*

        **Key Arguments:**
            - ``listName`` -- the name of the reminders list

        **Return:**
            - ``newTasks`` -- a string containing tasks in taskpaper format