<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setPostScript(self, goal, script):
 """ After learning call the given script using 'goal'. :param goal: goal name :param script: prolog script to call """

        self.postGoal = goal
        self.postScript = script